diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-08-17 20:48:56 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-08-18 12:32:53 +0200 |
commit | 41cc5cca4ff95b59484ca66ba5e2eee10d95b7e1 (patch) | |
tree | 2f268e3396bacd812b9087eda4590cc30356b60e /src/qml/compiler/qv4isel_p.cpp | |
parent | ca2b4d1ccabc3bccde4d146284b1cac39058e711 (diff) |
Get rid of engine pointer in isel
Change-Id: I58759712624713cd2215621dca4ccc86fa9a9194
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_p.cpp')
-rw-r--r-- | src/qml/compiler/qv4isel_p.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qml/compiler/qv4isel_p.cpp b/src/qml/compiler/qv4isel_p.cpp index 8c49cbd431..5972e3ac33 100644 --- a/src/qml/compiler/qv4isel_p.cpp +++ b/src/qml/compiler/qv4isel_p.cpp @@ -58,12 +58,12 @@ QTextStream qout(stderr, QIODevice::WriteOnly); using namespace QQmlJS; using namespace QQmlJS::V4IR; -EvalInstructionSelection::EvalInstructionSelection(QV4::ExecutionEngine *engine, Module *module) - : _engine(engine) - , useFastLookups(true) - , jsUnitGenerator(engine, module) +EvalInstructionSelection::EvalInstructionSelection(QV4::ExecutableAllocator *execAllocator, Module *module) + : useFastLookups(true) + , executableAllocator(execAllocator) + , jsUnitGenerator(module) { - assert(engine); + assert(execAllocator); assert(module); } |