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

Function removevars

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

Source from the content-addressed store, hash-verified

210
211
212static void removevars (FuncState *fs, int tolevel) {
213 fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel);
214 while (fs->nactvar > tolevel)
215 getlocvar(fs, --fs->nactvar)->endpc = fs->pc;
216}
217
218
219static int searchupvalue (FuncState *fs, TString *name) {

Callers 1

leaveblockFunction · 0.70

Calls 1

getlocvarFunction · 0.85

Tested by

no test coverage detected