Searched refs:getage (Results 1 – 3 of 3) sorted by relevance
116 #define getage(o) ((o)->marked & AGEBITS) macro118 #define isold(o) (getage(o) > G_SURVIVAL)121 check_exp(getage(o) == (f), (o)->marked ^= ((f)^(t)))
233 lua_assert((g->gckind == KGC_GEN) == (isold(o) && getage(o) != G_TOUCHED1)); in luaC_barrierback_()234 if (getage(o) == G_TOUCHED2) /* already in gray list? */ in luaC_barrierback_()381 lua_assert(getage(uv) <= getage(thread)); in remarkupvals()432 if (getage(o) == G_TOUCHED1) { /* touched in this cycle? */ in genlink()435 else if (getage(o) == G_TOUCHED2) in genlink()893 else if (getage(o) == G_OLD1) in udata2finalize()1133 if (getage(curr) == G_NEW) { /* new objects go back to white */ in sweepgen()1138 setage(curr, nextage[getage(curr)]); in sweepgen()1139 if (getage(curr) == G_OLD1 && *pfirstold1 == NULL) in sweepgen()1176 else if (getage(curr) == G_TOUCHED1) { /* touched in this cycle? */ in correctgraylist()[all …]
303 if ((getage(f) == G_OLD && isblack(f)) && !isold(t)) in testobjref1()305 if (((getage(f) == G_OLD1 || getage(f) == G_TOUCHED2) && isblack(f)) && in testobjref1()306 getage(t) == G_NEW) in testobjref1()317 "ns01oTt"[getage(o)], o->marked); in printobj()519 assert(getage(o) >= listage); in checkobject()523 getage(o) == G_TOUCHED1 || in checkobject()524 getage(o) == G_OLD0 || in checkobject()538 assert(!!isgray(o) ^ (getage(o) == G_TOUCHED2)); in checkgraylist()589 if (isgray(o) || getage(o) == G_TOUCHED2) { in incifingray()641 assert(o->tt == LUA_VSHRSTR && isgray(o) && getage(o) == G_OLD); in lua_checkmemory()[all …]