diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-09 21:35:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-12 21:52:27 +0200 |
commit | c2c038ae942c534555018ebae71f20334348e46c (patch) | |
tree | dd563df7090f9863a4207251d9aa8ed1d2c553e8 /src/qml/compiler/qv4isel_masm.cpp | |
parent | 95ee1133854a6c14f92b921859ae751b9c1a78a9 (diff) | |
download | qtdeclarative-c2c038ae942c534555018ebae71f20334348e46c.tar.gz |
Convert unary operations and some other runtime methods
Change-Id: I985876ade37efd24e1d4f8360a6472282cf44f8b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4isel_masm.cpp')
-rw-r--r-- | src/qml/compiler/qv4isel_masm.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/qml/compiler/qv4isel_masm.cpp b/src/qml/compiler/qv4isel_masm.cpp index 7b1c27feb8..91787337c8 100644 --- a/src/qml/compiler/qv4isel_masm.cpp +++ b/src/qml/compiler/qv4isel_masm.cpp @@ -755,23 +755,21 @@ void InstructionSelection::callBuiltinTypeofValue(V4IR::Expr *value, V4IR::Temp void InstructionSelection::callBuiltinDeleteMember(V4IR::Temp *base, const QString &name, V4IR::Temp *result) { - generateFunctionCall(Assembler::Void, __qmljs_delete_member, Assembler::ContextRegister, - Assembler::PointerToValue(result), Assembler::Reference(base), - Assembler::PointerToString(name)); + generateFunctionCall(result, __qmljs_delete_member, Assembler::ContextRegister, + Assembler::Reference(base), Assembler::PointerToString(name)); } void InstructionSelection::callBuiltinDeleteSubscript(V4IR::Temp *base, V4IR::Expr *index, V4IR::Temp *result) { - generateFunctionCall(Assembler::Void, __qmljs_delete_subscript, Assembler::ContextRegister, - Assembler::PointerToValue(result), Assembler::Reference(base), - Assembler::PointerToValue(index)); + generateFunctionCall(result, __qmljs_delete_subscript, Assembler::ContextRegister, + Assembler::Reference(base), Assembler::PointerToValue(index)); } void InstructionSelection::callBuiltinDeleteName(const QString &name, V4IR::Temp *result) { - generateFunctionCall(Assembler::Void, __qmljs_delete_name, Assembler::ContextRegister, - Assembler::PointerToValue(result), Assembler::PointerToString(name)); + generateFunctionCall(result, __qmljs_delete_name, Assembler::ContextRegister, + Assembler::PointerToString(name)); } void InstructionSelection::callBuiltinDeleteValue(V4IR::Temp *result) @@ -1226,8 +1224,7 @@ void InstructionSelection::unop(V4IR::AluOp oper, V4IR::Temp *sourceTemp, V4IR:: } // switch if (op) { - _as->generateFunctionCallImp(Assembler::Void, opName, op, - Assembler::PointerToValue(targetTemp), + _as->generateFunctionCallImp(targetTemp, opName, op, Assembler::PointerToValue(sourceTemp)); storeTarget(0, targetTemp); } |