aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-08-14 15:58:54 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-08-15 09:08:53 +0200
commit83a975ae1ccc3eec52c859b8665319b7a096fc37 (patch)
tree8e89d018d848addc7111d46adbc1262982287af0 /src/qml/jsruntime/qv4script.cpp
parent0d1e37e9f50b644c88578aee82859990e7378caf (diff)
Get rid of flags in QV4::Function and use CompiledFunction::flags instead
Change-Id: Iffe72ff6dd0311d7548d1ea41164a400fd3a7600 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r--src/qml/jsruntime/qv4script.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp
index cfe47c9d7e..448d63860d 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -68,7 +68,7 @@ struct QmlBindingWrapper : FunctionObject
vtbl = &static_vtbl;
function = f;
function->ref();
- usesArgumentsObject = function->usesArgumentsObject;
+ usesArgumentsObject = function->usesArgumentsObject();
needsActivation = function->needsActivation();
defineReadonlyProperty(scope->engine->id_length, Value::fromInt32(1));
@@ -203,7 +203,7 @@ Value Script::run()
bool strict = scope->strictMode;
Lookup *lookups = scope->lookups;
- scope->strictMode = vmFunction->isStrict;
+ scope->strictMode = vmFunction->isStrict();
scope->lookups = vmFunction->lookups;
QV4::Value result;