Lines Matching refs:lua_assert
188 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
213 lua_assert(stacksize(L) == ERRORSTACKSIZE); in luaD_growstack()
245 lua_assert(lim <= L->stack_last); in stackinuse()
319 lua_assert(!L->allowhook); in luaD_hook()
464 lua_assert(ci->top <= L->stack_last); in luaD_pretailcall()
497 lua_assert(ci->top <= L->stack_last); in luaD_precall()
524 lua_assert(ci->top <= L->stack_last); in luaD_precall()
578 lua_assert(ci->u.c.k != NULL && yieldable(L)); in finishCcall()
580 lua_assert((ci->callstatus & CIST_YPCALL) || status == LUA_YIELD); in finishCcall()
683 lua_assert(L->status == LUA_YIELD); in resume()
723 lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
756 lua_assert(!isLuacode(ci)); in lua_yieldk()
766 lua_assert(ci->callstatus & CIST_HOOKED); /* must be inside a hook */ in lua_yieldk()
833 lua_assert(cl->nupvalues == cl->p->sizeupvalues); in f_parser()