aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-11-12 13:55:19 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-15 13:16:14 +0100
commit1b97c612e6228bd9c89ad57a922eebf6d44c9bf9 (patch)
treec55e540caad0e299d71fa01949443699e2393072 /src/qml/jsruntime/qv4script.cpp
parent42674114127436564cf4598d54f671d46c1427b5 (diff)
Remove ExecutionContext from the Runtime codegenerator
Change-Id: Ic62ae1cbd24c0089e0df6bc6758d262cf49d0b91 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index e261cda414..e7bfed633b 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -266,7 +266,7 @@ void Script::parse()
}
}
- RuntimeCodegen cg(scope, strictMode);
+ RuntimeCodegen cg(v4, strictMode);
cg.generateFromProgram(sourceFile, sourceCode, program, &module, QQmlJS::Codegen::EvalCode, inheritedLocals);
if (v4->hasException)
return;