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

Function enterblock

ThirdParty/lua/lua/lparser.c:434–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432
433
434static void enterblock (FuncState *fs, BlockCnt *bl, lu_byte isloop) {
435 bl->isloop = isloop;
436 bl->nactvar = fs->nactvar;
437 bl->firstlabel = fs->ls->dyd->label.n;
438 bl->firstgoto = fs->ls->dyd->gt.n;
439 bl->upval = 0;
440 bl->previous = fs->bl;
441 fs->bl = bl;
442 lua_assert(fs->freereg == fs->nactvar);
443}
444
445
446/*

Callers 7

open_funcFunction · 0.85
blockFunction · 0.85
whilestatFunction · 0.85
repeatstatFunction · 0.85
forbodyFunction · 0.85
forstatFunction · 0.85
test_then_blockFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_then_blockFunction · 0.68