summaryrefslogtreecommitdiff
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
parent9512d5c1aced61e13e7be2d3208ec7ae3516b458 (diff)
parentc2237247cc3da9a8fdf3e6e3f367971d41a6f7f5 (diff)
downloadluajit2-b96d74621b6364c0e85199f13ca00b029341515c.tar.gz
Merge branch 'master' into v2.1
-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,
}
/* Mark slots used by upvalues of child prototypes as used. */
-void snap_useuv(GCproto *pt, uint8_t *udf)
+static void snap_useuv(GCproto *pt, uint8_t *udf)
{
/* This is a coarse check, because it's difficult to correlate the lifetime
** of slots and closures. But the number of false positives is quite low.