Home
last modified time | relevance | path

Searched refs:freereg (Results 1 – 3 of 3) sorted by relevance

/external/lua/src/
Dlcode.c475 int newstack = fs->freereg + n; in luaK_checkstack()
490 fs->freereg += n; in luaK_reserveregs()
499 static void freereg (FuncState *fs, int reg) { in freereg() function
501 fs->freereg--; in freereg()
502 lua_assert(reg == fs->freereg); in freereg()
512 freereg(fs, r1); in freeregs()
513 freereg(fs, r2); in freeregs()
516 freereg(fs, r2); in freeregs()
517 freereg(fs, r1); in freeregs()
527 freereg(fs, e->u.info); in freeexp()
[all …]
Dlparser.c483 luaK_nil(fs, fs->freereg, needed); /* complete with nils */ in adjust_assign()
488 fs->freereg += needed; /* remove extra values */ in adjust_assign()
641 lua_assert(fs->freereg == luaY_nvarstack(fs)); in enterblock()
674 fs->freereg = stklevel; /* free registers */ in leaveblock()
728 fs->freereg = 0; in open_func()
840 int reg = ls->fs->freereg; in recfield()
854 fs->freereg = reg; /* free registers */ in recfield()
925 init_exp(t, VNONRELOC, fs->freereg); /* table will be at stack top */ in constructor()
1052 nparams = fs->freereg - (base+1); in funcargs()
1056 fs->freereg = base+1; /* call remove function and arguments and leaves in funcargs()
[all …]
Dlparser.h159 lu_byte freereg; /* first free register */ member