The fields 'old' and 'finobjold' were renamed 'old1' and 'finobjold1',
respectively, to make clearer the main ages of their elements.
This commit is contained in:
Roberto Ierusalimschy
2020-07-29 11:34:08 -03:00
parent 71f70df327
commit b4c353434f
4 changed files with 32 additions and 25 deletions

View File

@@ -586,10 +586,10 @@ int lua_checkmemory (lua_State *L) {
/* check 'allgc' list */
maybedead = (GCSatomic < g->gcstate && g->gcstate <= GCSswpallgc);
checklist(g, maybedead, 0, g->allgc, g->survival, g->old, g->reallyold);
checklist(g, maybedead, 0, g->allgc, g->survival, g->old1, g->reallyold);
/* check 'finobj' list */
checklist(g, 0, 1, g->finobj, g->finobjsur, g->finobjold, g->finobjrold);
checklist(g, 0, 1, g->finobj, g->finobjsur, g->finobjold1, g->finobjrold);
/* check 'tobefnz' list */
for (o = g->tobefnz; o != NULL; o = o->next) {