aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-02-10 14:27:55 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-22 18:47:00 +0100
commitf11561f0eb3f084cd6e10dd7984b865a548403ac (patch)
tree3b54defb5e64eebdf206aa04885015683f37d20d
parenta5bb33e7cbea30fe9f3ea44d70afc37831683fc3 (diff)
Remove unused method
Change-Id: I03d30ef5b06408d4d482e81f86bdc27c71a5d7e8 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--src/qml/compiler/qv4isel_masm_p.h22
1 files changed, 0 insertions, 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<V4IR::Jump *> _removableJumps;
Assembler* _as;