mirror of https://github.com/xemu-project/xemu.git
target/i386: 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-23-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
e83cf1c119
commit
34a39c2443
|
@ -52,7 +52,7 @@ static void x86_cpu_synchronize_from_tb(CPUState *cs,
|
|||
/* The instruction pointer is always up to date with CF_PCREL. */
|
||||
if (!(tb_cflags(tb) & CF_PCREL)) {
|
||||
CPUX86State *env = cs->env_ptr;
|
||||
env->eip = tb_pc(tb) - tb->cs_base;
|
||||
env->eip = tb->pc - tb->cs_base;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue