Lines Matching refs:lua_assert
68 #define checkdeadkey(n) lua_assert(!ttisdeadkey(gkey(n)) || ttisnil(gval(n)))
108 lua_assert(ttisnil(gval(n)));
137 lua_assert(isblack(o) && iswhite(v) && !isdead(g, v) && !isdead(g, o));
138 lua_assert(g->gcstate != GCSpause);
139 lua_assert(gch(o)->tt != LUA_TTABLE);
143 lua_assert(issweepphase(g));
157 lua_assert(isblack(o) && !isdead(g, o) && gch(o)->tt == LUA_TTABLE);
174 lua_assert(isblack(obj2gco(p)));
192 lua_assert(!isblack(o)); /* open upvalues are never black */
200 lua_assert(issweepphase(g));
291 default: lua_assert(0); return;
365 lua_assert(!ttisnil(gkey(n)));
426 lua_assert(!ttisnil(gkey(n)));
517 lua_assert(isgray(o));
553 default: lua_assert(0); return;
565 lua_assert(g->gray == NULL); /* no grays left */
678 default: lua_assert(0);
784 lua_assert(isfinalized(o));
789 lua_assert(!isold(o)); /* see MOVE OLD rule */
847 lua_assert(!isfinalized(curr));
848 lua_assert(testbit(gch(curr)->marked, SEPARATED));
876 lua_assert(issweepphase(g));
933 lua_assert(g->sweepgc == NULL && g->sweepfin == NULL);
980 lua_assert(g->finobj == NULL);
988 lua_assert(g->strt.nuse == 0);
996 lua_assert(!iswhite(obj2gco(g->mainthread)));
1039 lua_assert(!isgenerational(g));
1094 default: lua_assert(0); return 0;
1112 lua_assert(g->gcstate == GCSpropagate);
1128 lua_assert(g->gcstate == GCSpropagate);
1185 lua_assert(origkind != KGC_EMERGENCY);