projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd69c77
)
target/rx: Replace `tb_pc()` with `tb->pc`
author
Anton Johansson
<anjo@rev.ng>
Mon, 27 Feb 2023 13:51:51 +0000
(14:51 +0100)
committer
Richard Henderson
<richard.henderson@linaro.org>
Wed, 1 Mar 2023 17:33:11 +0000
(07:33 -1000)
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>
target/rx/cpu.c
patch
|
blob
|
history
diff --git
a/target/rx/cpu.c
b/target/rx/cpu.c
index 219ef28e46329fdd5ecec1f670a5bfc908d30056..67452e310c88cce1d3fffb5b06119395f53445ef 100644
(file)
--- 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,