tcg: Adjust TCGContext.temps_in_use check
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 28 Jan 2023 23:05:14 +0000 (13:05 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:27 +0000 (07:33 -1000)
commit0ef3d7045b565861496a6cb8460acc5d3bc80744
tree94f5d1c18de516482e09a5f4622738a20d809ccf
parent640be074fa1cadf4b1447c122efaaa2987fa774a
tcg: Adjust TCGContext.temps_in_use check

Change the temps_in_use check to use assert not fprintf.
Move the assert for double-free before the check for count,
since that is the more immediate problem.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c