diff options
author | Lars Knoll <[email protected]> | 2014-11-12 13:55:19 +0100 |
---|---|---|
committer | Simon Hausmann <[email protected]> | 2014-11-15 13:16:14 +0100 |
commit | 1b97c612e6228bd9c89ad57a922eebf6d44c9bf9 (patch) | |
tree | c55e540caad0e299d71fa01949443699e2393072 /src/qml/jsruntime/qv4functionobject.cpp | |
parent | 42674114127436564cf4598d54f671d46c1427b5 (diff) |
Remove ExecutionContext from the Runtime codegenerator
Change-Id: Ic62ae1cbd24c0089e0df6bc6758d262cf49d0b91
Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index 34fe17d0eb..410be02639 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -239,7 +239,7 @@ ReturnedValue FunctionCtor::construct(Managed *that, CallData *callData) IR::Module module(v4->debugger != 0); - QQmlJS::RuntimeCodegen cg(v4->currentContext(), f->strictMode()); + QQmlJS::RuntimeCodegen cg(v4, f->strictMode()); cg.generateFromFunctionExpression(QString(), function, fe, &module); QV4::Compiler::JSUnitGenerator jsGenerator(&module); |