Patchwork [for-1.8,55/61] target-i386: Remove gen_op_mov_reg_A0

login
register
mail settings
Submitter Richard Henderson
Date Nov. 7, 2013, 1:05 a.m.
Message ID <1383786324-18415-56-git-send-email-rth@twiddle.net>
Download mbox | patch
Permalink /patch/289129/
State New
Headers show

Comments

Richard Henderson - Nov. 7, 2013, 1:05 a.m.
Replace with its definition.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target-i386/translate.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

Patch

diff --git a/target-i386/translate.c b/target-i386/translate.c
index 5dd68e1..2a5879c 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -366,11 +366,6 @@  static void gen_op_mov_reg_v(TCGMemOp ot, int reg, TCGv t0)
     }
 }
 
-static inline void gen_op_mov_reg_A0(TCGMemOp size, int reg)
-{
-    gen_op_mov_reg_v(size, reg, cpu_A0);
-}
-
 static inline void gen_op_mov_v_reg(TCGMemOp ot, TCGv t0, int reg)
 {
     if (ot == MO_8 && byte_reg_is_xH(reg)) {
@@ -5311,7 +5306,7 @@  static target_ulong disas_insn(CPUX86State *env, DisasContext *s,
         s->addseg = 0;
         gen_lea_modrm(env, s, modrm);
         s->addseg = val;
-        gen_op_mov_reg_A0(ot, reg);
+        gen_op_mov_reg_v(ot, reg, cpu_A0);
         break;
 
     case 0xa0: /* mov EAX, Ov */