aboutsummaryrefslogtreecommitdiffstats
path: root/llvm_runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-10-17 09:05:56 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-17 09:35:39 +0200
commitf5b98f63862d4f36774d6baea5d3789350844e04 (patch)
tree50a59c6cceea4f154a9c83365b5f10f167606769 /llvm_runtime.cpp
parent951990255e4a6909a5b2f652ac1c651848d2877c (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 'llvm_runtime.cpp')
-rw-r--r--llvm_runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_runtime.cpp b/llvm_runtime.cpp
index 96d5e36a08..f8770bbfa6 100644
--- a/llvm_runtime.cpp
+++ b/llvm_runtime.cpp
@@ -229,7 +229,7 @@ void __qmljs_llvm_call_activation_property(Context *context, Value *result, Stri
void __qmljs_llvm_call_value(Context *context, Value *result, const Value *thisObject, const Value *func, Value *args, int argc)
{
Value that = thisObject ? *thisObject : Value::undefinedValue();
- *result = __qmljs_call_value(context, that, func, args, argc);
+ *result = __qmljs_call_value(context, that, *func, args, argc);
}
void __qmljs_llvm_construct_activation_property(Context *context, Value *result, String *name, Value *args, int argc)