Drop marks from replayed instructions when sinking.

Reported by Vyacheslav Egorov.
This commit is contained in:
Mike Pall 2015-10-15 02:28:04 +02:00
parent 2e85af8836
commit 4808e62a9a

View File

@ -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);