mirror of
https://github.com/qemu/qemu.git
synced 2024-12-03 00:33:39 +08:00
target/avr: Use translator_lduw
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
dfc7228be3
commit
6c19920725
@ -24,7 +24,6 @@
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "tcg/tcg-op.h"
|
||||
#include "exec/cpu_ldst.h"
|
||||
#include "exec/helper-proto.h"
|
||||
#include "exec/helper-gen.h"
|
||||
#include "exec/log.h"
|
||||
@ -173,7 +172,7 @@ static int to_regs_00_30_by_two(DisasContext *ctx, int indx)
|
||||
|
||||
static uint16_t next_word(DisasContext *ctx)
|
||||
{
|
||||
return cpu_lduw_code(ctx->env, ctx->npc++ * 2);
|
||||
return translator_lduw(ctx->env, &ctx->base, ctx->npc++ * 2);
|
||||
}
|
||||
|
||||
static int append_16(DisasContext *ctx, int x)
|
||||
|
Loading…
Reference in New Issue
Block a user