aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c
index 0aab7e78..0cf12243 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -384,7 +384,7 @@ static TRef snap_dedup(jit_State *J, SnapEntry *map, MSize nmax, IRRef ref)
384 MSize j; 384 MSize j;
385 for (j = 0; j < nmax; j++) 385 for (j = 0; j < nmax; j++)
386 if (snap_ref(map[j]) == ref) 386 if (snap_ref(map[j]) == ref)
387 return J->slot[snap_slot(map[j])]; 387 return J->slot[snap_slot(map[j])] & ~(SNAP_CONT|SNAP_FRAME);
388 return 0; 388 return 0;
389} 389}
390 390