aboutsummaryrefslogtreecommitdiffstats
path: root/qmljs_runtime.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2012-10-10 13:46:12 +0200
committerLars Knoll <lars.knoll@digia.com>2012-10-10 13:49:35 +0200
commit7a9ece649ef84b22308e17926d4a4e6013c75091 (patch)
tree6f388db543155f060f11dff9fa63130491f14a41 /qmljs_runtime.cpp
parent85dc29103f45f7817ab996acb7db06d2ed74e223 (diff)
Emit code for copying values
Remove __qmljs_copy in the process.
Diffstat (limited to 'qmljs_runtime.cpp')
-rw-r--r--qmljs_runtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmljs_runtime.cpp b/qmljs_runtime.cpp
index 2ca6f8a579..230f13c22c 100644
--- a/qmljs_runtime.cpp
+++ b/qmljs_runtime.cpp
@@ -330,7 +330,7 @@ void Context::initCallContext(ExecutionEngine *e, const Value *object, FunctionO
void Context::leaveCallContext(FunctionObject *f, Value *returnValue)
{
if (returnValue)
- __qmljs_copy(returnValue, &result);
+ *returnValue = result;
if (! f->needsActivation) {
delete[] locals;