]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tcg: Link branches to the labels
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 3 Mar 2023 21:47:27 +0000 (13:47 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:07 +0000 (13:44 -0800)
commitf85b1fc4a0a572b0b92f5199deac1fb57e6f2aa3
tree5dcbb497577b31738aaf50bc5429632f257c5bb5
parent533206f0520e2d46362e4e6d920c8b9fa7ec1bb4
tcg: Link branches to the labels

This allows us to easily find all branches that use a label.
Since 'refs' is only tested vs zero, remove it and test for
an empty list instead.  Drop the use of bitfields, which had
been used to pack refs into a single 32-bit word.

Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg-op.h
include/tcg/tcg.h
tcg/tcg-op.c
tcg/tcg.c