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 7a02c9a9..e2da4b3e 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -273,7 +273,7 @@ static BCReg snap_usedef(jit_State *J, uint8_t *udf,
273} 273}
274 274
275/* Mark slots used by upvalues of child prototypes as used. */ 275/* Mark slots used by upvalues of child prototypes as used. */
276void snap_useuv(GCproto *pt, uint8_t *udf) 276static void snap_useuv(GCproto *pt, uint8_t *udf)
277{ 277{
278 /* This is a coarse check, because it's difficult to correlate the lifetime 278 /* This is a coarse check, because it's difficult to correlate the lifetime
279 ** of slots and closures. But the number of false positives is quite low. 279 ** of slots and closures. But the number of false positives is quite low.