e2k: Invalidate mlock after each instruction.

This commit is contained in:
Denis Drakhnia 2021-01-05 12:47:59 +02:00 committed by Alibek Omarov
parent 9ae33eb4ea
commit 8a9a5186ef
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ static void e2k_tr_translate_insn(DisasContextBase *db, CPUState *cs)
do_commit(ctx);
do_branch(ctx, pc_next);
ctx->mlock = NULL;
ctx->base.pc_next = pc_next;
/* Free temporary values */