Home
last modified time | relevance | path

Searched refs:newstack (Results 1 – 2 of 2) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dldo.c163 L->top = (L->top - oldstack) + newstack; in correctstack()
164 L->tbclist = (L->tbclist - oldstack) + newstack; in correctstack()
166 up->v = s2v((uplevel(up) - oldstack) + newstack); in correctstack()
168 ci->top = (ci->top - oldstack) + newstack; in correctstack()
169 ci->func = (ci->func - oldstack) + newstack; in correctstack()
194 StkId newstack = luaM_reallocvector(L, NULL, 0, in luaD_reallocstack() local
197 if (l_unlikely(newstack == NULL)) { /* reallocation failed? */ in luaD_reallocstack()
204 memcpy(newstack, L->stack, i * sizeof(StackValue)); in luaD_reallocstack()
206 setnilvalue(s2v(newstack + i)); /* erase new segment */ in luaD_reallocstack()
207 correctstack(L, L->stack, newstack); in luaD_reallocstack()
[all …]
A Dlcode.c466 int newstack = fs->freereg + n; in luaK_checkstack() local
467 if (newstack > fs->f->maxstacksize) { in luaK_checkstack()
468 if (newstack >= MAXREGS) in luaK_checkstack()
471 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()

Completed in 9 milliseconds