MCPcopy Create free account
hub / github.com/BigPig0/RelayLive / removevars

Function removevars

ThirdParty/lua/lua/lparser.c:210–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

leaveblockFunction · 0.85

Calls 1

getlocvarFunction · 0.85

Tested by

no test coverage detected