Skip to content

Commit 4808e62

Browse files
author
Mike Pall
committed
Drop marks from replayed instructions when sinking.
Reported by Vyacheslav Egorov.
1 parent 2e85af8 commit 4808e62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lj_snap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ void lj_snap_replay(jit_State *J, GCtrace *T)
515515
op2 = emitir_raw(IRT(IR_HIOP, IRT_I64), op2,
516516
snap_pref(J, T, map, nent, seen, (ir+1)->op2));
517517
}
518-
J->slot[snap_slot(sn)] = emitir(ir->ot, op1, op2);
518+
J->slot[snap_slot(sn)] = emitir(ir->ot & ~(IRT_MARK|IRT_ISPHI), op1, op2);
519519
} else {
520520
IRIns *irs;
521521
TRef tr = emitir(ir->ot, op1, op2);

0 commit comments

Comments
 (0)