Lines Matching refs:top
161 StkId limit = (ci == L->ci) ? L->top : ci->next->func;
177 if (!isLfunction(L->top - 1)) /* not a Lua function? */
180 name = luaF_getlocalname(clLvalue(L->top - 1)->p, n, 0);
186 setobj2s(L, L->top, pos);
203 setobjs2s(L, pos, L->top - 1);
204 L->top--; /* pop value */
232 setnilvalue(L->top);
240 sethvalue(L, L->top, t); /* push it on stack */
319 func = L->top - 1;
322 L->top--; /* pop function */
332 setobjs2s(L, L->top, func);
549 return (0 <= i && i < (ci->top - ci->u.l.base) && ci->u.l.base + i == o);
644 setobjs2s(L, L->top, L->top - 1); /* move argument */
645 setobjs2s(L, L->top - 1, errfunc); /* push function */
646 L->top++; /* assume EXTRA_STACK */
647 luaD_callnoyield(L, L->top - 2, 1); /* call it */
696 ci->func = L->top - 1; /* protect stack below results */