Home
last modified time | relevance | path

Searched refs:restorestack (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/lua/src/
H A Dldo.h37 #define restorestack(L,n) cast(StkId, cast_charp(L->stack.p) + (n)) macro
44 p = restorestack(L, t__)) /* 'pos' part: restore 'p' */
52 p = restorestack(L, t__)) /* 'pos' part: restore 'p' */
H A Dldo.c185 L->top.p = restorestack(L, L->top.offset); in correctstack()
186 L->tbclist.p = restorestack(L, L->tbclist.offset); in correctstack()
188 up->v.p = s2v(restorestack(L, up->v.offset)); in correctstack()
190 ci->top.p = restorestack(L, ci->top.offset); in correctstack()
191 ci->func.p = restorestack(L, ci->func.offset); in correctstack()
357 ci->top.p = restorestack(L, ci_top); in luaD_hook()
358 L->top.p = restorestack(L, top); in luaD_hook()
459 res = restorestack(L, savedres); /* hook can move stack */ in moveresults()
680 StkId func = restorestack(L, ci->u2.funcidx); in finishpcallk()
929 pcl.level = restorestack(L, level); pcl.status = status; in luaD_closeprotected()
[all …]
H A Dltm.c132 res = restorestack(L, result); in luaT_callTMres()
H A Dlfunc.c234 level = restorestack(L, levelrel); in luaF_close()
H A Dldebug.c811 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dldo.c320 ci->top = restorestack(L, ci_top); in luaD_hook()
321 L->top = restorestack(L, top); in luaD_hook()
366 func = restorestack(L, funcr); /* previous call may change stack */ in tryfuncTM()
394 ci->func = restorestack(L, funcr); in luaD_precall()
416 func = restorestack(L, funcr); in luaD_precall()
421 func = restorestack(L, funcr); /* previous call can change stack */ in luaD_precall()
453 firstResult = restorestack(L, fr); in luaD_poscall()
554 oldtop = restorestack(L, ci->extra); in recover()
601 ci->func = restorestack(L, ci->extra); in resume_cb()
693 StkId oldtop = restorestack(L, old_top); in luaD_pcall()
H A Dldo.h23 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) macro
H A Dldebug.c49 ci->func = restorestack(L, ci->extra); in swapextra()
588 StkId errfunc = restorestack(L, L->errfunc); in luaG_errormsg()
H A Dlvm.c104 p3 = restorestack(L, result); in callTM()