diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-09-16 13:26:24 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-09-16 13:26:24 -0300 |
| commit | 140b672e2ee2ac842661ece4b48e1a64f0cd11ea (patch) | |
| tree | b925cd1e40712ab09a75ef2c0e30095aac0af0aa /lundump.c | |
| parent | 9ea06e61f20ae34974226074fc6123dbb54a07c2 (diff) | |
| download | lua-140b672e2ee2ac842661ece4b48e1a64f0cd11ea.tar.gz lua-140b672e2ee2ac842661ece4b48e1a64f0cd11ea.tar.bz2 lua-140b672e2ee2ac842661ece4b48e1a64f0cd11ea.zip | |
Vararg table
Not yet optimized nor documented.
Diffstat (limited to 'lundump.c')
| -rw-r--r-- | lundump.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -327,7 +327,8 @@ static void loadFunction (LoadState *S, Proto *f) { | |||
| 327 | f->linedefined = loadInt(S); | 327 | f->linedefined = loadInt(S); |
| 328 | f->lastlinedefined = loadInt(S); | 328 | f->lastlinedefined = loadInt(S); |
| 329 | f->numparams = loadByte(S); | 329 | f->numparams = loadByte(S); |
| 330 | f->flag = loadByte(S) & PF_ISVARARG; /* get only the meaningful flags */ | 330 | /* get only the meaningful flags */ |
| 331 | f->flag = cast_byte(loadByte(S) & ~PF_FIXED); | ||
| 331 | if (S->fixed) | 332 | if (S->fixed) |
| 332 | f->flag |= PF_FIXED; /* signal that code is fixed */ | 333 | f->flag |= PF_FIXED; /* signal that code is fixed */ |
| 333 | f->maxstacksize = loadByte(S); | 334 | f->maxstacksize = loadByte(S); |
