OSDN Git Service

tcg: Remove branch-to-next regardless of reference count
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 29 Jan 2023 20:37:19 +0000 (10:37 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:27 +0000 (07:33 -1000)
commit4d89d0bb8f01060b18f94d84c2dcea573bdd1381
tree2af1404d8d929fbced3dad1182d23f6371c6fdf8
parent9b1890ad901bd22352b8a9598220df51fe8b0d41
tcg: Remove branch-to-next regardless of reference count

Just because the label reference count is more than 1 does
not mean we cannot remove a branch-to-next.  By doing this
first, the label reference count may drop to 0, and then
the label itself gets removed as before.

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