diff options
author | Mike Pall <mike> | 2022-01-25 22:18:20 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2022-01-25 22:18:20 +0100 |
commit | b96d74621b6364c0e85199f13ca00b029341515c (patch) | |
tree | ab0ccbc081a230f5f2d5a8aa09d5e000fcb3d489 /src | |
parent | 9512d5c1aced61e13e7be2d3208ec7ae3516b458 (diff) | |
parent | c2237247cc3da9a8fdf3e6e3f367971d41a6f7f5 (diff) | |
download | luajit-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.c | 2 |
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. */ |
316 | void snap_useuv(GCproto *pt, uint8_t *udf) | 316 | static 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. |