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

Function adjustlocalvars

app/redis-6.2.6/deps/lua/src/lparser.c:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167static void adjustlocalvars (LexState *ls, int nvars) {
168 FuncState *fs = ls->fs;
169 fs->nactvar = cast_byte(fs->nactvar + nvars);
170 for (; nvars; nvars--) {
171 getlocvar(fs, fs->nactvar - nvars).startpc = fs->pc;
172 }
173}
174
175
176static void removevars (LexState *ls, 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