accel/tcg: Use CPUState.get_pc in cpu_io_recompile
commitdafa0ecc97850c325fe85cd87dc0b536858d171a
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Mar 2024 03:21:59 +0000 (27 17:21 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Mar 2024 22:16:00 +0000 (29 12:16 -1000)
tree75747858c34cf04ad1d73ffff5c57e457c8cc401
parent13af3af196c85a4bcd4399a0842f044c83bd6aa6
accel/tcg: Use CPUState.get_pc in cpu_io_recompile

Using log_pc produces the pc at the beginning of TB,
not the actual pc installed by cpu_restore_state_from_tb,
which could be any of the guest instructions within TB.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c