diff options
-rw-r--r-- | target/rx/cpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/rx/cpu.c b/target/rx/cpu.c index 219ef28..67452e3 100644 --- a/target/rx/cpu.c +++ b/target/rx/cpu.c @@ -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, |