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 bcc9da38..4140fdb7 100644
--- a/src/lj_snap.c
+++ b/src/lj_snap.c
@@ -313,7 +313,7 @@ static BCReg snap_usedef(jit_State *J, uint8_t *udf,
313} 313}
314 314
315/* Mark slots used by upvalues of child prototypes as used. */ 315/* Mark slots used by upvalues of child prototypes as used. */
316void snap_useuv(GCproto *pt, uint8_t *udf) 316static void snap_useuv(GCproto *pt, uint8_t *udf)
317{ 317{
318 /* This is a coarse check, because it's difficult to correlate the lifetime 318 /* This is a coarse check, because it's difficult to correlate the lifetime
319 ** of slots and closures. But the number of false positives is quite low. 319 ** of slots and closures. But the number of false positives is quite low.