aboutsummaryrefslogtreecommitdiffstats
path: root/llvm_runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-10-16 16:21:00 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-16 16:57:24 +0200
commit537c5fa10d1fe59fb7eb24c564fa3cd92f518b6a (patch)
tree7f605c257f96c196fb30a1b390dbf59d7dffb97d /llvm_runtime.cpp
parentf730f7526b89a7add27d93454bddffe6410d5542 (diff)
Move conversions to new calling convention
Change-Id: Iec01835b4fd27d8b71b7e709b05bcc757d09e417 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'llvm_runtime.cpp')
-rw-r--r--llvm_runtime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm_runtime.cpp b/llvm_runtime.cpp
index ba178a0158..43d09a0758 100644
--- a/llvm_runtime.cpp
+++ b/llvm_runtime.cpp
@@ -249,7 +249,7 @@ void __qmljs_llvm_get_activation_property(Context *ctx, Value *result, String *n
void __qmljs_llvm_set_activation_property(Context *ctx, String *name, Value *value)
{
- __qmljs_set_activation_property(ctx, name, value);
+ __qmljs_set_activation_property(ctx, name, *value);
}
void __qmljs_llvm_get_property(Context *ctx, Value *result, Value *object, String *name)
@@ -279,7 +279,7 @@ void __qmljs_llvm_set_element(Context *ctx, Value *object, Value *index, Value *
void __qmljs_llvm_set_property(Context *ctx, Value *object, String *name, Value *value)
{
- __qmljs_set_property(ctx, object, name, value);
+ __qmljs_set_property(ctx, *object, name, *value);
}
void __qmljs_llvm_typeof(Context *ctx, Value *result, const Value *value)
@@ -325,7 +325,7 @@ void __qmljs_llvm_delete_value(Context *ctx, Value *result, Value *value)
void __qmljs_llvm_init_this_object(Context *ctx)
{
if (ctx->calledAsConstructor)
- __qmljs_new_object(ctx, &ctx->thisObject);
+ ctx->thisObject = __qmljs_new_object(ctx);
}
} // extern "C"