aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-26 12:08:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-28 13:33:50 +0200
commitc0e0e9ba2c1dd8c3a2a590849ff244987730d1b2 (patch)
tree62fae7b90d95c202e39b6f40059151f3e29e82c6 /src/qml/jsruntime/qv4runtime.cpp
parentd2e2a5b59c617e6cf7236cf36e9c20fe9ea36fdb (diff)
Fix API for evalCall()
Change-Id: Ib80b18348e18eb93044a73358f0c4e266b988f63 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r--src/qml/jsruntime/qv4runtime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp
index 8d1171a18b..cb059be3a8 100644
--- a/src/qml/jsruntime/qv4runtime.cpp
+++ b/src/qml/jsruntime/qv4runtime.cpp
@@ -950,7 +950,7 @@ ReturnedValue __qmljs_call_global_lookup(ExecutionContext *context, uint index,
context->throwTypeError();
if (o.getPointer() == context->engine->evalFunction && l->name->isEqualTo(context->engine->id_eval))
- return static_cast<EvalFunction *>(o.getPointer())->evalCall(callData->thisObject, callData->args, callData->argc, true);
+ return static_cast<EvalFunction *>(o.getPointer())->evalCall(callData, true);
return o->call(callData);
}
@@ -976,7 +976,7 @@ ReturnedValue __qmljs_call_activation_property(ExecutionContext *context, const
}
if (o == context->engine->evalFunction && name->isEqualTo(context->engine->id_eval)) {
- return static_cast<EvalFunction *>(o)->evalCall(callData->thisObject, callData->args, callData->argc, true);
+ return static_cast<EvalFunction *>(o)->evalCall(callData, true);
}
return o->call(callData);