]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/hppa: fetch code with translator_ld
authorEmilio G. Cota <cota@braap.org>
Sat, 8 Dec 2018 02:05:01 +0000 (21:05 -0500)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 28 Oct 2019 15:12:38 +0000 (15:12 +0000)
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
target/hppa/translate.c

index c1b2822f60513aa2c9e2a055183c249a2b22c861..2f8d407a82b7d41078ed23fb7c711b6256ac283f 100644 (file)
@@ -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.  */