From f11561f0eb3f084cd6e10dd7984b865a548403ac Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 10 Feb 2014 14:27:55 +0100 Subject: Remove unused method Change-Id: I03d30ef5b06408d4d482e81f86bdc27c71a5d7e8 Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4isel_masm_p.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/qml/compiler/qv4isel_masm_p.h b/src/qml/compiler/qv4isel_masm_p.h index 094cd6dbc4..088141a1df 100644 --- a/src/qml/compiler/qv4isel_masm_p.h +++ b/src/qml/compiler/qv4isel_masm_p.h @@ -1605,28 +1605,6 @@ private: generateLookupCall(retval, index, getterSetterOffset, arg1, arg2, Assembler::VoidType()); } - /// This is a temporary method, and will be removed when registers are fully supported. - void storeTarget(int argumentNumber, V4IR::Temp *target) - { - if (target->kind == V4IR::Temp::PhysicalRegister) { - Address addr = _as->stackLayout().savedRegPointer(argumentNumber); - if (target->type == V4IR::DoubleType) - _as->loadDouble(addr, (Assembler::FPRegisterID) target->index); - else if (target->type == V4IR::SInt32Type) - generateFunctionCall((Assembler::RegisterID) target->index, - QV4::__qmljs_value_to_int32, - Assembler::Pointer(addr)); - else if (target->type == V4IR::UInt32Type) - generateFunctionCall((Assembler::RegisterID) target->index, - QV4::__qmljs_value_to_uint32, - Assembler::Pointer(addr)); - else if (target->type == V4IR::BoolType) - _as->load32(addr, (Assembler::RegisterID) target->index); - else - Q_ASSERT(!"WIP!"); - } - } - V4IR::BasicBlock *_block; QSet _removableJumps; Assembler* _as; -- cgit v1.2.3