No nested transactions for initializers! (Test coming up.)
This commit is contained in:
parent
40d2135253
commit
5648b8fc7f
@ -296,7 +296,6 @@ namespace cling {
|
|||||||
m_Consumer->setTransaction(T);
|
m_Consumer->setTransaction(T);
|
||||||
codeGenTransaction(T);
|
codeGenTransaction(T);
|
||||||
transformTransactionIR(T);
|
transformTransactionIR(T);
|
||||||
Transaction* nestedT = beginTransaction(CompilationOptions());
|
|
||||||
T->setState(Transaction::kCommitted);
|
T->setState(Transaction::kCommitted);
|
||||||
if (m_Interpreter->runStaticInitializersOnce(*T)
|
if (m_Interpreter->runStaticInitializersOnce(*T)
|
||||||
>= Interpreter::kExeFirstError) {
|
>= Interpreter::kExeFirstError) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user