No nested transactions for initializers! (Test coming up.)

This commit is contained in:
Axel Naumann 2014-04-16 12:00:28 +02:00 committed by sftnight
parent 40d2135253
commit 5648b8fc7f

View File

@ -296,7 +296,6 @@ namespace cling {
m_Consumer->setTransaction(T);
codeGenTransaction(T);
transformTransactionIR(T);
Transaction* nestedT = beginTransaction(CompilationOptions());
T->setState(Transaction::kCommitted);
if (m_Interpreter->runStaticInitializersOnce(*T)
>= Interpreter::kExeFirstError) {