MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / enterblock

Function enterblock

src/Chain/libraries/glua/lparser.cpp:459–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457
458
459static void enterblock(FuncState *fs, BlockCnt *bl, lu_byte isloop) {
460 bl->isloop = isloop;
461 bl->nactvar = fs->nactvar;
462 bl->firstlabel = fs->ls->dyd->label.n;
463 bl->firstgoto = fs->ls->dyd->gt.n;
464 bl->upval = 0;
465 bl->previous = fs->bl;
466 fs->bl = bl;
467 lua_assert(fs->freereg == fs->nactvar);
468}
469
470
471/*

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