aboutsummaryrefslogtreecommitdiff
path: root/target/sparc/translate.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-12-07 21:13:46 -0500
committerAlex Bennée <alex.bennee@linaro.org>2019-10-28 15:12:38 +0000
commitb89b90010314aceca22f641dfd5dc5a40fb1bc6a (patch)
tree54253a356a7a6030a4fdc2fef5211dfd081aabd0 /target/sparc/translate.c
parent4b9fa0b4fadfe645e812f808a9b96adeb1ecdb20 (diff)
downloadqemu-b89b90010314aceca22f641dfd5dc5a40fb1bc6a.zip
qemu-b89b90010314aceca22f641dfd5dc5a40fb1bc6a.tar.gz
qemu-b89b90010314aceca22f641dfd5dc5a40fb1bc6a.tar.bz2
target/sparc: fetch code with translator_ld
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>
Diffstat (limited to 'target/sparc/translate.c')
-rw-r--r--target/sparc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index c68bf4a..edc23a7 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translate.c
@@ -5884,7 +5884,7 @@ static void sparc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
CPUSPARCState *env = cs->env_ptr;
unsigned int insn;
- insn = cpu_ldl_code(env, dc->pc);
+ insn = translator_ldl(env, dc->pc);
dc->base.pc_next += 4;
disas_sparc_insn(dc, insn);