2
0
Mike Pall 9 жил өмнө
parent
commit
5e2b609b3f
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/lj_snap.c

+ 2 - 0
src/lj_snap.c

@@ -822,7 +822,9 @@ const BCIns *lj_snap_restore(jit_State *J, void *exptr)
   SnapShot *snap = &T->snap[snapno];
   MSize n, nent = snap->nent;
   SnapEntry *map = &T->snapmap[snap->mapofs];
+#if !LJ_FR2 || defined(LUA_USE_ASSERT)
   SnapEntry *flinks = &T->snapmap[snap_nextofs(T, snap)-1-LJ_FR2];
+#endif
 #if !LJ_FR2
   ptrdiff_t ftsz0;
 #endif