MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / removevars

Function removevars

Source/Misc/lua/src/lua.c:7752–7756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7750
7751
7752static void removevars (LexState *ls, int tolevel) {
7753FuncState *fs = ls->fs;
7754while (fs->nactvar > tolevel)
7755getlocvar(fs, --fs->nactvar).endpc = fs->pc;
7756}
7757
7758
7759static int indexupvalue (FuncState *fs, TString *name, expdesc *v) {

Callers 2

leaveblockFunction · 0.85
close_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected