Home
last modified time | relevance | path

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

/external/lua/src/
Dldo.c164 static void correctstack (lua_State *L, StkId oldstack, StkId newstack) { in correctstack() argument
167 if (oldstack == newstack) in correctstack()
169 L->top = (L->top - oldstack) + newstack; in correctstack()
171 up->v = s2v((uplevel(up) - oldstack) + newstack); in correctstack()
173 ci->top = (ci->top - oldstack) + newstack; in correctstack()
174 ci->func = (ci->func - oldstack) + newstack; in correctstack()
187 StkId newstack = luaM_reallocvector(L, L->stack, lim, newsize, StackValue); in luaD_reallocstack() local
190 if (unlikely(newstack == NULL)) { /* reallocation failed? */ in luaD_reallocstack()
196 setnilvalue(s2v(newstack + lim)); /* erase new segment */ in luaD_reallocstack()
197 correctstack(L, L->stack, newstack); in luaD_reallocstack()
[all …]
Dlcode.c475 int newstack = fs->freereg + n; in luaK_checkstack() local
476 if (newstack > fs->f->maxstacksize) { in luaK_checkstack()
477 if (newstack >= MAXREGS) in luaK_checkstack()
480 fs->f->maxstacksize = cast_byte(newstack); in luaK_checkstack()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DOperandStack.java66 final OperandStack newstack = new OperandStack(this.maxStack); in clone() local
69 newstack.stack = clone; in clone()
70 return newstack; in clone()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl.cc475 uptr *newstack = (uptr*)internal_alloc(MBlockShadowStack, in GrowShadowStack() local
477 internal_memcpy(newstack, thr->shadow_stack, sz * sizeof(uptr)); in GrowShadowStack()
479 thr->shadow_stack = newstack; in GrowShadowStack()
480 thr->shadow_stack_pos = newstack + sz; in GrowShadowStack()
481 thr->shadow_stack_end = newstack + newsz; in GrowShadowStack()