Lines Matching refs:top
105 StkId func = L->top.p; in luaT_callTM()
110 L->top.p = func + 4; in luaT_callTM()
122 StkId func = L->top.p; in luaT_callTMres()
126 L->top.p += 3; in luaT_callTMres()
133 setobjs2s(L, res, --L->top.p); /* move result to its place */ in luaT_callTMres()
168 StkId top = L->top.p; in luaT_tryconcatTM() local
169 if (l_unlikely(!callbinTM(L, s2v(top - 2), s2v(top - 1), top - 2, in luaT_tryconcatTM()
171 luaG_concaterror(L, s2v(top - 2), s2v(top - 1)); in luaT_tryconcatTM()
203 if (callbinTM(L, p1, p2, L->top.p, event)) /* try original event */ in luaT_callorderTM()
204 return !l_isfalse(s2v(L->top.p)); in luaT_callorderTM()
209 if (callbinTM(L, p2, p1, L->top.p, TM_LT)) { in luaT_callorderTM()
211 return l_isfalse(s2v(L->top.p)); in luaT_callorderTM()
241 int actual = cast_int(L->top.p - ci->func.p) - 1; /* number of arguments */ in luaT_adjustvarargs()
246 setobjs2s(L, L->top.p++, ci->func.p); in luaT_adjustvarargs()
249 setobjs2s(L, L->top.p++, ci->func.p + i); in luaT_adjustvarargs()
253 ci->top.p += actual + 1; in luaT_adjustvarargs()
254 lua_assert(L->top.p <= ci->top.p && ci->top.p <= L->stack_last.p); in luaT_adjustvarargs()
264 L->top.p = where + nextra; /* next instruction will need top */ in luaT_getvarargs()