Skip to content

Commit

Permalink
Drop marks from replayed instructions when sinking.
Browse files Browse the repository at this point in the history
Reported by Vyacheslav Egorov.
  • Loading branch information
Mike Pall committed Oct 15, 2015
1 parent 2e85af8 commit 4808e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_snap.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ void lj_snap_replay(jit_State *J, GCtrace *T)
op2 = emitir_raw(IRT(IR_HIOP, IRT_I64), op2,
snap_pref(J, T, map, nent, seen, (ir+1)->op2));
}
J->slot[snap_slot(sn)] = emitir(ir->ot, op1, op2);
J->slot[snap_slot(sn)] = emitir(ir->ot & ~(IRT_MARK|IRT_ISPHI), op1, op2);
} else {
IRIns *irs;
TRef tr = emitir(ir->ot, op1, op2);
Expand Down

0 comments on commit 4808e62

Please sign in to comment.