Remove unused method
authorLars Knoll <lars.knoll@digia.com>
Mon, 10 Feb 2014 13:27:55 +0000 (14:27 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 22 Feb 2014 17:47:00 +0000 (18:47 +0100)
Change-Id: I03d30ef5b06408d4d482e81f86bdc27c71a5d7e8
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/compiler/qv4isel_masm_p.h

index 094cd6dbc45f7b5817f5937e53f6a93e088ff355..088141a1df6d6dc1fd721d36250a6eec32cd2668 100644 (file)
@@ -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<V4IR::Jump *> _removableJumps;
     Assembler* _as;