MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / enterblock

Function enterblock

lua/lparser.c:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315
316static void enterblock (FuncState *fs, BlockCnt *bl, lu_byte isbreakable) {
317 bl->breaklist = NO_JUMP;
318 bl->isbreakable = isbreakable;
319 bl->nactvar = fs->nactvar;
320 bl->upval = 0;
321 bl->previous = fs->bl;
322 fs->bl = bl;
323 lua_assert(fs->freereg == fs->nactvar);
324}
325
326
327static void leaveblock (FuncState *fs) {

Callers 5

blockFunction · 0.85
whilestatFunction · 0.85
repeatstatFunction · 0.85
forbodyFunction · 0.85
forstatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected