aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4globalobject.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/qv4globalobject.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/qv4globalobject.cpp')
-rw-r--r--src/qml/jsruntime/qv4globalobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp
index 6b279416a3..49085b659c 100644
--- a/src/qml/jsruntime/qv4globalobject.cpp
+++ b/src/qml/jsruntime/qv4globalobject.cpp
@@ -383,9 +383,9 @@ Value EvalFunction::evalCall(Value /*thisObject*/, Value *args, int argc, bool d
if (!function)
return Value::undefinedValue();
- strictMode = function->isStrict || (ctx->strictMode);
+ strictMode = function->isStrict() || (ctx->strictMode);
- usesArgumentsObject = function->usesArgumentsObject;
+ usesArgumentsObject = function->usesArgumentsObject();
needsActivation = function->needsActivation();
if (strictMode) {