OSDN Git Service

tcg: Remove tcg_check_temp_count, tcg_clear_temp_count
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 02:15:18 +0000 (16:15 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:07 +0000 (13:44 -0800)
commit2f2e911d0ca27e071c0d62b2e5f0a2ee6e5967f4
tree00e5c04c43b003ddc0abdbcebd3a0fd9295ab61e
parent3470867b3b2774f78ae7ab3a0ca4259694e2ddee
tcg: Remove tcg_check_temp_count, tcg_clear_temp_count

Since all temps allocated by guest front-ends are now TEMP_TB,
and we don't recycle TEMP_TB, there's no point in requiring
that the front-ends free the temps at all.  Begin by dropping
the inner-most checks that all temps have been freed.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translator.c
include/tcg/tcg.h
tcg/tcg.c