On 31/5/23 06:03, Richard Henderson wrote:
The only usage of gen_tb_start and gen_tb_end are here.
Move the static icount_start_insn variable into a local
within translator_loop. Simplify the two subroutines
by passing in the existing local cflags variable.
Leave only the declaration of gen_io_start in gen-icount.h.
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
include/exec/gen-icount.h | 79 +------------------------------------
accel/tcg/translator.c | 83 ++++++++++++++++++++++++++++++++++++++-
2 files changed, 82 insertions(+), 80 deletions(-)
Nice!
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>