From 7a9ece649ef84b22308e17926d4a4e6013c75091 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 10 Oct 2012 13:46:12 +0200 Subject: Emit code for copying values Remove __qmljs_copy in the process. --- qmljs_runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qmljs_runtime.cpp') 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; -- cgit v1.2.3