aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2009-06-22 13:40:10 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-24 09:09:15 -0500
commit024589f182232c6e4f566ca4b30bd477f20b4257 (patch)
treefc0a01adddd4d90735463d55fd373fe382cf96b3
parent779c6befc03122c819d2f81a2052fac6a4a43536 (diff)
Remove unused gen_bx_T0 function.
Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--target-arm/translate.c8
1 files changed, 0 insertions, 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. */