MCPcopy Create free account
hub / github.com/F-Stack/f-stack / adjustlocalvars

Function adjustlocalvars

freebsd/contrib/openzfs/module/lua/lparser.c:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202
203static void adjustlocalvars (LexState *ls, int nvars) {
204 FuncState *fs = ls->fs;
205 fs->nactvar = cast_byte(fs->nactvar + nvars);
206 for (; nvars; nvars--) {
207 getlocvar(fs, fs->nactvar - nvars)->startpc = fs->pc;
208 }
209}
210
211
212static void removevars (FuncState *fs, int tolevel) {

Callers 5

parlistFunction · 0.70
bodyFunction · 0.70
forbodyFunction · 0.70
localfuncFunction · 0.70
localstatFunction · 0.70

Calls 1

getlocvarFunction · 0.85

Tested by

no test coverage detected