From: Emilio G. Cota Date: Sat, 8 Dec 2018 02:05:01 +0000 (-0500) Subject: target/hppa: fetch code with translator_ld X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d3733cbbeebb80fbd6b0352356608e304b2d2911;p=qemu.git target/hppa: fetch code with translator_ld Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- diff --git a/target/hppa/translate.c b/target/hppa/translate.c index c1b2822f60..2f8d407a82 100644 --- a/target/hppa/translate.c +++ b/target/hppa/translate.c @@ -4221,7 +4221,7 @@ static void hppa_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) { /* Always fetch the insn, even if nullified, so that we check the page permissions for execute. */ - uint32_t insn = cpu_ldl_code(env, ctx->base.pc_next); + uint32_t insn = translator_ldl(env, ctx->base.pc_next); /* Set up the IA queue for the next insn. This will be overwritten by a branch. */