mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
target/rx: Replace tb_pc() with tb->pc
Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230227135202.9710-17-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
committed by
Richard Henderson
parent
dd69c77cc6
commit
8023d1abcd
+2
-1
@@ -44,7 +44,8 @@ static void rx_cpu_synchronize_from_tb(CPUState *cs,
|
||||
{
|
||||
RXCPU *cpu = RX_CPU(cs);
|
||||
|
||||
cpu->env.pc = tb_pc(tb);
|
||||
tcg_debug_assert(!(cs->tcg_cflags & CF_PCREL));
|
||||
cpu->env.pc = tb->pc;
|
||||
}
|
||||
|
||||
static void rx_restore_state_to_opc(CPUState *cs,
|
||||
|
||||
Reference in New Issue
Block a user