diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-02-22 18:10:05 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-03-03 14:29:08 +0000 |
commit | 806f352d3d6f7b326b0ab3a49c622b124459dc8d (patch) | |
tree | 0e2c636cf4b584f11e582d979b22f8d07e5bbbd2 /include/exec/gen-icount.h | |
parent | 3a808cc407744c30daa7470b5f191cde1fbc1aae (diff) | |
download | hqemu-806f352d3d6f7b326b0ab3a49c622b124459dc8d.zip hqemu-806f352d3d6f7b326b0ab3a49c622b124459dc8d.tar.gz |
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 'include/exec/gen-icount.h')
-rw-r--r-- | include/exec/gen-icount.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h index 384153b..4e3b17b 100644 --- a/include/exec/gen-icount.h +++ b/include/exec/gen-icount.h @@ -9,7 +9,7 @@ static TCGArg *icount_arg; static int icount_label; static int exitreq_label; -static inline void gen_icount_start(void) +static inline void gen_tb_start(void) { TCGv_i32 count; TCGv_i32 flag; @@ -36,7 +36,7 @@ static inline void gen_icount_start(void) tcg_temp_free_i32(count); } -static void gen_icount_end(TranslationBlock *tb, int num_insns) +static void gen_tb_end(TranslationBlock *tb, int num_insns) { gen_set_label(exitreq_label); tcg_gen_exit_tb((tcg_target_long)tb + TB_EXIT_REQUESTED); |