diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-10-17 09:05:56 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-17 09:35:39 +0200 |
commit | f5b98f63862d4f36774d6baea5d3789350844e04 (patch) | |
tree | 50a59c6cceea4f154a9c83365b5f10f167606769 /moth | |
parent | 951990255e4a6909a5b2f652ac1c651848d2877c (diff) |
Generate correct code when calling values
__qmljs_call_value was still using a pointer to a Value.
In addition, qcv4isel_masm.cpp was using a wrong order
of the arguments.
Change-Id: I0414aa732ae8074420e4f11525f5b04712cc1bab
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'moth')
-rw-r--r-- | moth/qv4vme_moth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moth/qv4vme_moth.cpp b/moth/qv4vme_moth.cpp index 4bc2304967..f31fb0a858 100644 --- a/moth/qv4vme_moth.cpp +++ b/moth/qv4vme_moth.cpp @@ -133,7 +133,7 @@ void VME::operator()(QQmlJS::VM::Context *context, const uchar *code MOTH_BEGIN_INSTR(Call) VM::Value *args = stack.data() + instr.args; - tempRegister = __qmljs_call_value(context, VM::Value::undefinedValue(), &tempRegister, args, instr.argc); + tempRegister = __qmljs_call_value(context, VM::Value::undefinedValue(), tempRegister, args, instr.argc); MOTH_END_INSTR(Call) MOTH_BEGIN_INSTR(Jump) |