aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2022-01-25 22:18:20 +0100
committerMike Pall <mike>2022-01-25 22:18:20 +0100
commitb96d74621b6364c0e85199f13ca00b029341515c (patch)
treeab0ccbc081a230f5f2d5a8aa09d5e000fcb3d489 /src
parent9512d5c1aced61e13e7be2d3208ec7ae3516b458 (diff)
parentc2237247cc3da9a8fdf3e6e3f367971d41a6f7f5 (diff)
downloadluajit-b96d74621b6364c0e85199f13ca00b029341515c.tar.gz
luajit-b96d74621b6364c0e85199f13ca00b029341515c.tar.bz2
luajit-b96d74621b6364c0e85199f13ca00b029341515c.zip
Merge branch 'master' into v2.1
Diffstat (limited to 'src')
-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.