Lines Matching refs:lua_assert
188 lua_assert(newsize <= LUAI_MAXSTACK || newsize == ERRORSTACKSIZE); in luaD_reallocstack()
189 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()
241 lua_assert(lim <= L->stack_last); in stackinuse()
299 lua_assert(!L->allowhook); in luaD_hook()
444 lua_assert(ci->top <= L->stack_last); in luaD_pretailcall()
475 lua_assert(ci->top <= L->stack_last); in luaD_call()
503 lua_assert(ci->top <= L->stack_last); in luaD_call()
538 lua_assert(ci->u.c.k != NULL && yieldable(L)); in finishCcall()
540 lua_assert((ci->callstatus & CIST_YPCALL) || status == LUA_YIELD); in finishCcall()
644 lua_assert(L->status == LUA_YIELD); in resume()
688 lua_assert(status == L->status); /* normal end or yield */ in lua_resume()
721 lua_assert(!isLuacode(ci)); in lua_yieldk()
731 lua_assert(ci->callstatus & CIST_HOOKED); /* must be inside a hook */ in lua_yieldk()
798 lua_assert(cl->nupvalues == cl->p->sizeupvalues); in f_parser()