From 4e116893c6079b51efdc9e226be3f1a530f47f5e Mon Sep 17 00:00:00 2001 From: Ilya Leoshkevich Date: Mon, 9 Aug 2021 12:32:59 -1000 Subject: accel/tcg: Add DisasContextBase argument to translator_ld* Signed-off-by: Ilya Leoshkevich [rth: Split out of a larger patch.] Signed-off-by: Richard Henderson --- target/m68k/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/m68k') diff --git a/target/m68k/translate.c b/target/m68k/translate.c index c34d9aed61..50a55f949c 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -415,7 +415,7 @@ static TCGv gen_ldst(DisasContext *s, int opsize, TCGv addr, TCGv val, static inline uint16_t read_im16(CPUM68KState *env, DisasContext *s) { uint16_t im; - im = translator_lduw(env, s->pc); + im = translator_lduw(env, &s->base, s->pc); s->pc += 2; return im; } -- cgit v1.2.3