Skip to content

Commit

Permalink
target/alpha: fetch code with translator_ld
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cota authored and stsquad committed Oct 28, 2019
1 parent 87892c6 commit e2790ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/alpha/translate.c
Expand Up @@ -2987,7 +2987,7 @@ static void alpha_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu)
{
DisasContext *ctx = container_of(dcbase, DisasContext, base);
CPUAlphaState *env = cpu->env_ptr;
uint32_t insn = cpu_ldl_code(env, ctx->base.pc_next);
uint32_t insn = translator_ldl(env, ctx->base.pc_next);

ctx->base.pc_next += 4;
ctx->base.is_jmp = translate_one(ctx, insn);
Expand Down

0 comments on commit e2790ba

Please sign in to comment.