diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-07 08:10:15 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-08-10 08:18:05 +0000 |
commit | fd221cf6e056b7239fc2fa2faeccd9ddeb542199 (patch) | |
tree | a453f21ac01aa01a16a7a4f378ec2ed60e07512f /src/qml/jsruntime/qv4globalobject.cpp | |
parent | 01c338023a3a604bb24c2efb18d48f9bac33e6bc (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/qv4globalobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4globalobject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4globalobject.cpp b/src/qml/jsruntime/qv4globalobject.cpp index 69d9683eaa..71140e5386 100644 --- a/src/qml/jsruntime/qv4globalobject.cpp +++ b/src/qml/jsruntime/qv4globalobject.cpp @@ -386,7 +386,7 @@ ReturnedValue EvalFunction::evalCall(CallData *callData, bool directCall) const ctx->d()->strictMode = false; ctx->d()->v4Function = function; - return Q_V4_PROFILE(ctx->engine(), function); + return Q_V4_PROFILE(ctx->engine(), function, 0); } |