Commit 024589f182232c6e4f566ca4b30bd477f20b4257
Committed by
Anthony Liguori
1 parent
779c6bef
Remove unused gen_bx_T0 function.
Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
1 changed file
with
0 additions
and
8 deletions
target-arm/translate.c
| @@ -812,14 +812,6 @@ static inline void gen_bx(DisasContext *s, TCGv var) | @@ -812,14 +812,6 @@ static inline void gen_bx(DisasContext *s, TCGv var) | ||
| 812 | store_cpu_field(var, regs[15]); | 812 | store_cpu_field(var, regs[15]); |
| 813 | } | 813 | } |
| 814 | 814 | ||
| 815 | -/* TODO: This should be removed. Use gen_bx instead. */ | ||
| 816 | -static inline void gen_bx_T0(DisasContext *s) | ||
| 817 | -{ | ||
| 818 | - TCGv tmp = new_tmp(); | ||
| 819 | - tcg_gen_mov_i32(tmp, cpu_T[0]); | ||
| 820 | - gen_bx(s, tmp); | ||
| 821 | -} | ||
| 822 | - | ||
| 823 | /* Variant of store_reg which uses branch&exchange logic when storing | 815 | /* Variant of store_reg which uses branch&exchange logic when storing |
| 824 | to r15 in ARM architecture v7 and above. The source must be a temporary | 816 | to r15 in ARM architecture v7 and above. The source must be a temporary |
| 825 | and will be marked as dead. */ | 817 | and will be marked as dead. */ |