diff options
author | Anton Johansson <anjo@rev.ng> | 2023-02-27 14:51:47 +0100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-03-01 07:33:05 -1000 |
commit | 279513c766ed988d12b866d238cb5b783898ec38 (patch) | |
tree | f0db2c16e608faade522bd28848f2243e92312aa /accel/tcg/internal.h | |
parent | 2dd5b7a1b91562e52053e37cc95614c3af7d63c4 (diff) |
accel/tcg: 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-13-anjo@rev.ng>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/internal.h')
-rw-r--r-- | accel/tcg/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel/tcg/internal.h b/accel/tcg/internal.h index 5daa4cf0d7..96f198b28b 100644 --- a/accel/tcg/internal.h +++ b/accel/tcg/internal.h @@ -60,7 +60,7 @@ static inline target_ulong log_pc(CPUState *cpu, const TranslationBlock *tb) if (tb_cflags(tb) & CF_PCREL) { return cpu->cc->get_pc(cpu); } else { - return tb_pc(tb); + return tb->pc; } } |