diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-07-03 13:47:26 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-03 15:54:11 +0200 |
commit | 181a174118e9405fe567262ce67f524b850db488 (patch) | |
tree | 8e47a8cdcc7e2b9c18b47d7250c3ab6870bc4a4f /src/qml/qml/v4 | |
parent | 06eaeb0ac8d861cf3e60b11a8fbbabdeef1d6759 (diff) |
Cleanup: Remove unnecessary use of ReturnValueRegister
Change-Id: Ic159fa8dcbce3d51db0b39d1cb22d01f9a94e15a
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/qml/qml/v4')
-rw-r--r-- | src/qml/qml/v4/qv4isel_masm.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qml/qml/v4/qv4isel_masm.cpp b/src/qml/qml/v4/qv4isel_masm.cpp index 2ecded0d43..cc4aebab4a 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) |