target: e2k: Fix instr start address.

This commit is contained in:
Denis Drakhnia 2020-11-27 09:45:35 +02:00
parent b947cf9f8f
commit 2f4cae1a19

View File

@ -444,8 +444,9 @@ static void e2k_tr_tb_start(DisasContextBase *db, CPUState *cs)
static void e2k_tr_insn_start(DisasContextBase *db, CPUState *cs)
{
DisasContext *dc = container_of(db, DisasContext, base);
tcg_gen_insn_start(dc->pc);
DisasContext *ctx = container_of(db, DisasContext, base);
tcg_gen_insn_start(ctx->base.pc_next);
}
static void e2k_tr_translate_insn(DisasContextBase *db, CPUState *cs)