From b781c8deb549c19528bf5b40ac53e241f78aa466 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sat, 2 Mar 2013 21:47:11 +0100 Subject: [PATCH] Delete unused ARM emitter function. --- Common/ArmEmitter.cpp | 9 +-------- Common/ArmEmitter.h | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Common/ArmEmitter.cpp b/Common/ArmEmitter.cpp index f8bdc1722b..35b034d13e 100644 --- a/Common/ArmEmitter.cpp +++ b/Common/ArmEmitter.cpp @@ -134,14 +134,7 @@ void ARMXEmitter::MOVI2R(ARMReg reg, u32 val, bool optimize) } } } -// Moves IMM to memory location -void ARMXEmitter::ARMABI_MOVI2M(Operand2 op, Operand2 val) -{ - // This moves imm to a memory location - MOVW(R14, val); MOVT(R14, val, true); - MOVW(R12, op); MOVT(R12, op, true); - STR(R12, R14); // R10 is what we want to store -} + void ARMXEmitter::QuickCallFunction(ARMReg reg, void *func) { MOVI2R(reg, (u32)(func)); BL(reg); diff --git a/Common/ArmEmitter.h b/Common/ArmEmitter.h index 518beac60f..1b32de141f 100644 --- a/Common/ArmEmitter.h +++ b/Common/ArmEmitter.h @@ -539,9 +539,9 @@ public: void VMRS_APSR(); void QuickCallFunction(ARMReg scratchreg, void *func); - // Utility functions + + // Wrapper around MOVT/MOVW with fallbacks. void MOVI2R(ARMReg reg, u32 val, bool optimize = true); - void ARMABI_MOVI2M(Operand2 op, Operand2 val); }; // class ARMXEmitter