OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e83cf1c
)
target/i386: Replace `tb_pc()` with `tb->pc`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:51:57 +0000
(14:51 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:20 +0000
(07:33 -1000)
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>
target/i386/tcg/tcg-cpu.c
patch
|
blob
|
history
diff --git
a/target/i386/tcg/tcg-cpu.c
b/target/i386/tcg/tcg-cpu.c
index
c090ce1
..
b942c30
100644
(file)
--- a/
target/i386/tcg/tcg-cpu.c
+++ b/
target/i386/tcg/tcg-cpu.c
@@
-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;
}
}