diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-30 14:25:39 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2017-09-01 12:30:27 +0000 |
commit | 85fe2814a1397a17804d8eace4a70e5b7df854b6 (patch) | |
tree | eecaf550665c886e2b1a2f3add6e91f2ba01297d /src/qml/jsruntime/qv4runtime.cpp | |
parent | ede52ec76ed0939ce41bb81843dc750241c6e78f (diff) |
Get rid of the FunctionObject parameter to VME::exec()
Change-Id: I5b833d1f76899a5b8fceb0f4fc109b77b1b431fc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4runtime.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4runtime.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index 5790ddfe10..f31da2e72e 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1081,9 +1081,8 @@ ReturnedValue Runtime::method_callProperty(ExecutionEngine *engine, int nameInde ReturnedValue Runtime::method_callPropertyLookup(ExecutionEngine *engine, uint index, CallData *callData) { Lookup *l = engine->currentStackFrame->v4Function->compilationUnit->runtimeLookups + index; - Value v; - v = l->getter(l, engine, callData->thisObject); - Object *o = v.objectValue(); + callData->function = l->getter(l, engine, callData->thisObject); + Object *o = callData->function.objectValue(); if (Q_LIKELY(o)) return o->call(callData); |