diff options
author | Lars Knoll <lars.knoll@digia.com> | 2012-10-16 13:40:02 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-10-16 16:57:01 +0200 |
commit | c63e799fc233c74564a2873806187973f398f5a8 (patch) | |
tree | f270f67f385ca8f73195a1d530ccc7a17c1383c7 /llvm_runtime.cpp | |
parent | a0690ab1ebc844675f2eb4ed9f1087497c92768e (diff) |
Convert Value constructors to new calling convention
Change-Id: I433f72666499e660618b061cfcf3407f5f9bb166
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'llvm_runtime.cpp')
-rw-r--r-- | llvm_runtime.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_runtime.cpp b/llvm_runtime.cpp index 871375d306..bea01d2dd9 100644 --- a/llvm_runtime.cpp +++ b/llvm_runtime.cpp @@ -83,7 +83,7 @@ void __qmljs_llvm_init_string(Context *ctx, Value *result, const char *str) void __qmljs_llvm_init_native_function(Context *ctx, Value *result, void (*code)(Context *)) { - __qmljs_init_native_function(ctx, result, code); + *result = __qmljs_init_native_function(code, ctx); } bool __qmljs_llvm_to_boolean(Context *ctx, const Value *value) |