Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c154 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() argument
157 setsvalue2s(L, oldtop, G(L)->memerrmsg); /* reuse preregistered msg. */ in seterrorobj()
161 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling")); in seterrorobj()
165 setobjs2s(L, oldtop, L->top - 1); /* error message on current top */ in seterrorobj()
169 L->top = oldtop + 1; in seterrorobj()
550 StkId oldtop; in recover() local
554 oldtop = restorestack(L, ci->extra); in recover()
555 luaF_close(L, oldtop); in recover()
556 seterrorobj(L, status, oldtop); in recover()
693 StkId oldtop = restorestack(L, old_top); in luaD_pcall() local
[all …]
H A Dldo.h36 ptrdiff_t oldtop, ptrdiff_t ef);
/freebsd/contrib/lua/src/
H A Dldo.h63 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop);
77 ptrdiff_t oldtop, ptrdiff_t ef);
H A Dldo.c91 void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) { in luaD_seterrorobj() argument
94 setsvalue2s(L, oldtop, G(L)->memerrmsg); /* reuse preregistered msg. */ in luaD_seterrorobj()
98 setsvalue2s(L, oldtop, luaS_newliteral(L, "error in error handling")); in luaD_seterrorobj()
102 setnilvalue(s2v(oldtop)); /* no error message */ in luaD_seterrorobj()
107 setobjs2s(L, oldtop, L->top.p - 1); /* error message on current top */ in luaD_seterrorobj()
111 L->top.p = oldtop + 1; in luaD_seterrorobj()