Lines Matching refs:nactvar
46 lu_byte nactvar; /* # active locals outside the block */ member
207 fs->nactvar = cast_byte(fs->nactvar + nvars); in adjustlocalvars()
209 getlocvar(fs, fs->nactvar - nvars)->startpc = fs->pc; in adjustlocalvars()
215 fs->ls->dyd->actvar.n -= (fs->nactvar - tolevel); in removevars()
216 while (fs->nactvar > tolevel) in removevars()
217 getlocvar(fs, --fs->nactvar)->endpc = fs->pc; in removevars()
248 for (i = cast_int(fs->nactvar) - 1; i >= 0; i--) { in searchvar()
262 while (bl->nactvar > level) bl = bl->previous; in markupval()
346 if (gt->nactvar < label->nactvar) { in closegoto()
347 TString *vname = getlocvar(fs, gt->nactvar)->varname; in closegoto()
373 if (gt->nactvar > lb->nactvar && in findlabel()
375 luaK_patchclose(ls->fs, gt->pc, lb->nactvar); in findlabel()
391 l->arr[n].nactvar = ls->fs->nactvar; in newlabelentry()
427 if (gt->nactvar > bl->nactvar) { in movegotosout()
429 luaK_patchclose(fs, gt->pc, bl->nactvar); in movegotosout()
430 gt->nactvar = bl->nactvar; in movegotosout()
440 bl->nactvar = fs->nactvar; in enterblock()
446 lua_assert(fs->freereg == fs->nactvar); in enterblock()
478 luaK_patchclose(fs, j, bl->nactvar); in leaveblock()
484 removevars(fs, bl->nactvar); in leaveblock()
485 lua_assert(bl->nactvar == fs->nactvar); in leaveblock()
486 fs->freereg = fs->nactvar; /* free registers */ in leaveblock()
541 fs->nactvar = 0; in open_func()
783 f->numparams = cast_byte(fs->nactvar); in parlist()
784 luaK_reserveregs(fs, fs->nactvar); /* reserve register for parameters */ in parlist()
1227 ll->arr[l].nactvar = fs->bl->nactvar; in labelstat()
1265 luaK_patchclose(fs, condexit, bl2.nactvar); in repeatstat()
1509 lua_assert(GETARG_A(getcode(fs,&e)) == fs->nactvar); in retstat()
1511 first = fs->nactvar; in retstat()
1519 first = fs->nactvar; /* return all `active' values */ in retstat()
1592 ls->fs->freereg >= ls->fs->nactvar); in statement()
1593 ls->fs->freereg = ls->fs->nactvar; /* free registers */ in statement()