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

Function enterblock

Source/Misc/lua/src/lua.c:7861–7869  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7859
7860
7861static void enterblock (FuncState *fs, BlockCnt *bl, lu_byte isbreakable) {
7862bl->breaklist = NO_JUMP;
7863bl->isbreakable = isbreakable;
7864bl->nactvar = fs->nactvar;
7865bl->upval = 0;
7866bl->previous = fs->bl;
7867fs->bl = bl;
7868lua_assert(fs->freereg == fs->nactvar);
7869}
7870
7871
7872static void leaveblock (FuncState *fs) {

Callers 5

blockFunction · 0.85
whilestatFunction · 0.85
repeatstatFunction · 0.85
forbodyFunction · 0.85
lua.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected