From: Filip Navara Date: Mon, 22 Jun 2009 18:40:10 +0000 (-0500) Subject: Remove unused gen_bx_T0 function. X-Git-Tag: v0.11.0-rc0~272 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=024589f182232c6e4f566ca4b30bd477f20b4257;p=thirdparty%2Fqemu.git Remove unused gen_bx_T0 function. Signed-off-by: Filip Navara Signed-off-by: Anthony Liguori --- diff --git a/target-arm/translate.c b/target-arm/translate.c index adac19a267c..64956e4d29e 100644 --- a/target-arm/translate.c +++ b/target-arm/translate.c @@ -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. */