diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-02-22 14:04:29 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-02-22 14:04:29 +0000 |
commit | b0ee74158c788e839770a3fc9951f5d645c6aa0a (patch) | |
tree | 69746b948e922f38c66fb3031c59a5347831afdb /target-openrisc/translate.c | |
parent | 69e107fa832ffb570e1faf1c4179f786912700a8 (diff) |
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-openrisc/translate.c')
-rw-r--r-- | target-openrisc/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-openrisc/translate.c b/target-openrisc/translate.c index 1e1b30cdcb..0b4175b6bf 100644 --- a/target-openrisc/translate.c +++ b/target-openrisc/translate.c @@ -1698,7 +1698,7 @@ static inline void gen_intermediate_code_internal(OpenRISCCPU *cpu, max_insns = CF_COUNT_MASK; } - gen_icount_start(); + gen_tb_start(); do { check_breakpoint(cpu, dc); @@ -1781,7 +1781,7 @@ static inline void gen_intermediate_code_internal(OpenRISCCPU *cpu, } } - 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; |