Home
last modified time | relevance | path

Searched refs:firstArg (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/sys/contrib/openzfs/module/lua/
H A Dldo.c573 static l_noret resume_error (lua_State *L, const char *msg, StkId firstArg) { in resume_error() argument
574 L->top = firstArg; /* remove args from the stack */ in resume_error()
586 StkId firstArg = cast(StkId, ud); in resume_cb() local
589 resume_error(L, "C stack overflow", firstArg); in resume_cb()
592 resume_error(L, "cannot resume non-suspended coroutine", firstArg); in resume_cb()
594 if (!luaD_precall(L, firstArg - 1, LUA_MULTRET)) /* Lua function? */ in resume_cb()
598 resume_error(L, "cannot resume dead coroutine", firstArg); in resume_cb()
613 firstArg = L->top - n; /* yield results come from continuation */ in resume_cb()
615 luaD_poscall(L, firstArg); /* finish 'luaD_precall' */ in resume_cb()
/freebsd-14.2/contrib/lua/src/
H A Dldo.c787 StkId firstArg = L->top.p - n; /* first argument */ in resume() local
790 ccall(L, firstArg - 1, LUA_MULTRET, 0); /* just call its body */ in resume()
795 L->top.p = firstArg; /* discard arguments */ in resume()