target/tricore: 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-14-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
279513c766
commit
25acb5e442
|
@ -55,7 +55,8 @@ static void tricore_cpu_synchronize_from_tb(CPUState *cs,
|
|||
TriCoreCPU *cpu = TRICORE_CPU(cs);
|
||||
CPUTriCoreState *env = &cpu->env;
|
||||
|
||||
env->PC = tb_pc(tb);
|
||||
tcg_debug_assert(!(cs->tcg_cflags & CF_PCREL));
|
||||
env->PC = tb->pc;
|
||||
}
|
||||
|
||||
static void tricore_restore_state_to_opc(CPUState *cs,
|
||||
|
|
Loading…
Reference in New Issue