aboutsummaryrefslogtreecommitdiff
path: root/target-lm32
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-02-22 14:04:29 +0000
committerPeter Maydell <peter.maydell@linaro.org>2013-02-22 14:04:29 +0000
commitb0ee74158c788e839770a3fc9951f5d645c6aa0a (patch)
tree69746b948e922f38c66fb3031c59a5347831afdb /target-lm32
parent69e107fa832ffb570e1faf1c4179f786912700a8 (diff)
downloadqemu-arm-b0ee74158c788e839770a3fc9951f5d645c6aa0a.tar.gz
gen-icount.h: Rename gen_icount_start/end to gen_tb_start/endint-flag
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>
Diffstat (limited to 'target-lm32')
-rw-r--r--target-lm32/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-lm32/translate.c b/target-lm32/translate.c
index 6b87340174..1766210bd4 100644
--- a/target-lm32/translate.c
+++ b/target-lm32/translate.c
@@ -1042,7 +1042,7 @@ static void gen_intermediate_code_internal(CPULM32State *env,
max_insns = CF_COUNT_MASK;
}
- gen_icount_start();
+ gen_tb_start();
do {
check_breakpoint(env, dc);
@@ -1104,7 +1104,7 @@ static void gen_intermediate_code_internal(CPULM32State *env,
}
}
- gen_icount_end(tb, num_insns);
+ gen_tb_end(tb, num_insns);
*tcg_ctx.gen_opc_ptr = INDEX_op_end;
if (search_pc) {
j = tcg_ctx.gen_opc_ptr - tcg_ctx.gen_opc_buf;