Commit 024589f1 authored by Filip Navara's avatar Filip Navara Committed by Anthony Liguori
Browse files

Remove unused gen_bx_T0 function.

parent 779c6bef
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -812,14 +812,6 @@ static inline void gen_bx(DisasContext *s, TCGv var)
    store_cpu_field(var, regs[15]);
}

/* TODO: This should be removed.  Use gen_bx instead.  */
static inline void gen_bx_T0(DisasContext *s)
{
    TCGv tmp = new_tmp();
    tcg_gen_mov_i32(tmp, cpu_T[0]);
    gen_bx(s, tmp);
}

/* Variant of store_reg which uses branch&exchange logic when storing
   to r15 in ARM architecture v7 and above. The source must be a temporary
   and will be marked as dead. */