diff options
author | Peter Maydell | 2013-02-22 19:10:05 +0100 |
---|---|---|
committer | Blue Swirl | 2013-03-03 15:29:08 +0100 |
commit | 806f352d3d6f7b326b0ab3a49c622b124459dc8d (patch) | |
tree | 0e2c636cf4b584f11e582d979b22f8d07e5bbbd2 /target-xtensa | |
parent | translate-all.c: Remove cpu_unlink_tb() (diff) | |
download | qemu-806f352d3d6f7b326b0ab3a49c622b124459dc8d.tar.gz qemu-806f352d3d6f7b326b0ab3a49c622b124459dc8d.tar.xz qemu-806f352d3d6f7b326b0ab3a49c622b124459dc8d.zip |
gen-icount.h: Rename gen_icount_start/end to gen_tb_start/end
The gen_icount_start/end functions are now somewhat misnamed since they
are useful for generic "start/end of TB" code, used for more than just
icount. Rename them to gen_tb_start/end.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa')
-rw-r--r-- | target-xtensa/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index 11e06a34f5..06d68dbaeb 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -2913,7 +2913,7 @@ static void gen_intermediate_code_internal( dc.next_icount = tcg_temp_local_new_i32(); } - gen_icount_start(); + gen_tb_start(); if (env->singlestep_enabled && env->exception_taken) { env->exception_taken = 0; @@ -2991,7 +2991,7 @@ static void gen_intermediate_code_internal( if (dc.is_jmp == DISAS_NEXT) { gen_jumpi(&dc, dc.pc, 0); } - gen_icount_end(tb, insn_count); + gen_tb_end(tb, insn_count); *tcg_ctx.gen_opc_ptr = INDEX_op_end; if (search_pc) { |