Home
last modified time | relevance | path

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

/external/lua/src/
Dlgc.h116 #define getage(o) ((o)->marked & AGEBITS) macro
118 #define isold(o) (getage(o) > G_SURVIVAL)
121 check_exp(getage(o) == (f), (o)->marked ^= ((f)^(t)))
Dlgc.c234 lua_assert((g->gckind == KGC_GEN) == (isold(o) && getage(o) != G_TOUCHED1)); in luaC_barrierback_()
235 if (getage(o) == G_TOUCHED2) /* already in gray list? */ in luaC_barrierback_()
376 lua_assert(getage(uv) <= getage(thread)); in remarkupvals()
427 if (getage(o) == G_TOUCHED1) { /* touched in this cycle? */ in genlink()
430 else if (getage(o) == G_TOUCHED2) in genlink()
881 else if (getage(o) == G_OLD1) in udata2finalize()
1102 if (getage(curr) == G_NEW) { /* new objects go back to white */ in sweepgen()
1107 setage(curr, nextage[getage(curr)]); in sweepgen()
1108 if (getage(curr) == G_OLD1 && *pfirstold1 == NULL) in sweepgen()
1145 else if (getage(curr) == G_TOUCHED1) { /* touched in this cycle? */ in correctgraylist()
[all …]