aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4script.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-07 08:10:15 +0200
committerLars Knoll <lars.knoll@qt.io>2017-08-10 08:18:05 +0000
commitfd221cf6e056b7239fc2fa2faeccd9ddeb542199 (patch)
treea453f21ac01aa01a16a7a4f378ec2ed60e07512f /src/qml/jsruntime/qv4script.cpp
parent01c338023a3a604bb24c2efb18d48f9bac33e6bc (diff)
Introduce a JS stack frame that corresponds to the C++ stack frame
The frame currently contains the function itself and the current context. Change-Id: I7d3402627fbc90e860a7bdc277585f365f5b4cb5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
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 2b97a0f1d4..188b66d8d3 100644
--- a/src/qml/jsruntime/qv4script.cpp
+++ b/src/qml/jsruntime/qv4script.cpp
@@ -153,7 +153,7 @@ ReturnedValue Script::run()
scope->d()->strictMode = vmFunction->isStrict();
scope->d()->v4Function = vmFunction;
- return Q_V4_PROFILE(engine, vmFunction);
+ return Q_V4_PROFILE(engine, vmFunction, 0);
} else {
Scoped<QmlContext> qml(valueScope, qmlContext.value());
ScopedCallData callData(valueScope);