aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4isel_p.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4isel_p.cpp')
-rw-r--r--src/qml/compiler/qv4isel_p.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/qml/compiler/qv4isel_p.cpp b/src/qml/compiler/qv4isel_p.cpp
index a3e9e97461..7081bc8686 100644
--- a/src/qml/compiler/qv4isel_p.cpp
+++ b/src/qml/compiler/qv4isel_p.cpp
@@ -62,7 +62,6 @@ EvalInstructionSelection::EvalInstructionSelection(QV4::ExecutionEngine *engine,
: _engine(engine)
, useFastLookups(true)
, jsUnitGenerator(engine, module)
- , compilationUnit(0)
{
assert(engine);
assert(module);
@@ -111,11 +110,7 @@ QV4::CompiledData::CompilationUnit *EvalInstructionSelection::compile()
run(it.value(), it.key());
}
- compilationUnit->data = jsUnitGenerator.generateUnit();
-
- backendCompileStep();
-
- return compilationUnit;
+ return backendCompileStep();
}
void IRDecoder::visitMove(V4IR::Move *s)