Home
last modified time | relevance | path

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

/external/lua/src/
Dlcode.c362 int newstack = fs->freereg + n; in luaK_checkstack()
377 fs->freereg += n; in luaK_reserveregs()
386 static void freereg (FuncState *fs, int reg) { in freereg() function
388 fs->freereg--; in freereg()
389 lua_assert(reg == fs->freereg); in freereg()
399 freereg(fs, e->u.info); in freeexp()
411 freereg(fs, r1); in freeexps()
412 freereg(fs, r2); in freeexps()
415 freereg(fs, r2); in freeexps()
416 freereg(fs, r1); in freeexps()
[all …]
Dlparser.c321 int reg = fs->freereg; in adjust_assign()
327 ls->fs->freereg -= nexps - nvars; /* remove extra values */ in adjust_assign()
447 lua_assert(fs->freereg == fs->nactvar); in enterblock()
487 fs->freereg = fs->nactvar; /* free registers */ in leaveblock()
537 fs->freereg = 0; in open_func()
649 int reg = ls->fs->freereg; in recfield()
663 fs->freereg = reg; /* free registers */ in recfield()
853 nparams = fs->freereg - (base+1); in funcargs()
857 fs->freereg = base+1; /* call remove function and arguments and leaves in funcargs()
1121 int extra = fs->freereg; /* eventual position to save local variable */ in check_conflict()
[all …]
Dlparser.h125 lu_byte freereg; /* first free register */ member