Commit 6956811
committed
Merge Ctors from nested transactions.
We cannot run nested transactions' initializations until the parent is done.
But the parent transaction must not replace the nested transactions' static initialization either.
The only way out is to collapse all transactions' static initializers until they are run.
This fixes
root [0] TTree *chain = new TTree("abc","title")
which left chain == 0 before.1 parent 00f3696 commit 6956811
File tree
1 file changed
+17
-0
lines changed- interpreter/llvm/src/tools/clang/lib/CodeGen
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
496 | 498 | | |
497 | 499 | | |
498 | 500 | | |
| |||
501 | 503 | | |
502 | 504 | | |
503 | 505 | | |
| 506 | + | |
504 | 507 | | |
505 | 508 | | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
506 | 523 | | |
507 | 524 | | |
508 | 525 | | |
| |||
0 commit comments