From 024589f182232c6e4f566ca4b30bd477f20b4257 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 22 Jun 2009 13:40:10 -0500 Subject: [PATCH] Remove unused gen_bx_T0 function. Signed-off-by: Filip Navara Signed-off-by: Anthony Liguori --- target-arm/translate.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index adac19a267..64956e4d29 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. */ -- GitLab