diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-10-23 10:10:28 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-11-13 08:56:04 +0000 |
commit | a2142203ad6cdb54ec063e259b40171e13c5d4bd (patch) | |
tree | 5da2bc88d9015b5f938e7dcd118bd9c5a93c3e5c /src/qml/jsruntime/qv4script.cpp | |
parent | 4d2763e425828ac35c2a03c0e675b83fa8dad668 (diff) |
Finally get rid of the QV4::Function pointer in the context
Change-Id: Iad6018f67faa956d385087865fca9d73419e363e
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4script.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4script.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4script.cpp b/src/qml/jsruntime/qv4script.cpp index c3b19ac77c..7ac46bf594 100644 --- a/src/qml/jsruntime/qv4script.cpp +++ b/src/qml/jsruntime/qv4script.cpp @@ -149,9 +149,6 @@ ReturnedValue Script::run() if (qmlContext.isUndefined()) { TemporaryAssignment<Function*> savedGlobalCode(engine->globalCode, vmFunction); - ContextStateSaver stateSaver(valueScope, context); - context->d()->v4Function = vmFunction; - QV4::JSCallData jsCall(valueScope); jsCall->thisObject = engine->globalObject; QV4::CallData *cData = jsCall.callData(); |