diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_asm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index 7c4d8f52..c217609b 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -826,11 +826,11 @@ static int asm_sunk_store(ASMState *as, IRIns *ira, IRIns *irs) | |||
826 | static void asm_snap_alloc1(ASMState *as, IRRef ref) | 826 | static void asm_snap_alloc1(ASMState *as, IRRef ref) |
827 | { | 827 | { |
828 | IRIns *ir = IR(ref); | 828 | IRIns *ir = IR(ref); |
829 | if (!irref_isk(ref) && ir->r != RID_SUNK) { | 829 | if (!irref_isk(ref)) { |
830 | bloomset(as->snapfilt1, ref); | 830 | bloomset(as->snapfilt1, ref); |
831 | bloomset(as->snapfilt2, hashrot(ref, ref + HASH_BIAS)); | 831 | bloomset(as->snapfilt2, hashrot(ref, ref + HASH_BIAS)); |
832 | if (ra_used(ir)) return; | 832 | if (ra_used(ir)) return; |
833 | if (ir->r == RID_SINK) { | 833 | if (ir->r == RID_SINK || ir->r == RID_SUNK) { |
834 | ir->r = RID_SUNK; | 834 | ir->r = RID_SUNK; |
835 | #if LJ_HASFFI | 835 | #if LJ_HASFFI |
836 | if (ir->o == IR_CNEWI) { /* Allocate CNEWI value. */ | 836 | if (ir->o == IR_CNEWI) { /* Allocate CNEWI value. */ |