From 181a174118e9405fe567262ce67f524b850db488 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 3 Jul 2013 13:47:26 +0200 Subject: [PATCH] Cleanup: Remove unnecessary use of ReturnValueRegister Change-Id: Ic159fa8dcbce3d51db0b39d1cb22d01f9a94e15a Reviewed-by: Erik Verbruggen --- src/qml/qml/v4/qv4isel_masm.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/qml/qml/v4/qv4isel_masm.cpp b/src/qml/qml/v4/qv4isel_masm.cpp index 2ecded0..cc4aeba 100644 --- a/src/qml/qml/v4/qv4isel_masm.cpp +++ b/src/qml/qml/v4/qv4isel_masm.cpp @@ -881,11 +881,9 @@ void InstructionSelection::callBuiltinDefineObjectLiteral(V4IR::Temp *result, V4 it = it->next; } - _as->move(Assembler::TrustedImmPtr(klass), Assembler::ReturnValueRegister); - generateFunctionCall(Assembler::Void, __qmljs_builtin_define_object_literal, Assembler::ContextRegister, Assembler::PointerToValue(result), baseAddressForCallArguments(), - Assembler::ReturnValueRegister); + Assembler::TrustedImmPtr(klass)); } void InstructionSelection::callValue(V4IR::Temp *value, V4IR::ExprList *args, V4IR::Temp *result) -- 2.7.4