diff --git a/target/e2k/translate.c b/target/e2k/translate.c index 62bdbc8b12..eb8115d660 100644 --- a/target/e2k/translate.c +++ b/target/e2k/translate.c @@ -410,8 +410,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)