From 69371c4b84becac09c445aae01d005b49658ef82 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 24 Apr 2017 13:59:26 -0300 Subject: 'KGC_NORMAL' -> 'KGC_INC' + emergency GC signalled by flag (instead of mode) --- ltests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltests.c') diff --git a/ltests.c b/ltests.c index 9679bee2..77f0163d 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.213 2017/04/18 19:42:12 roberto Exp roberto $ +** $Id: ltests.c,v 2.214 2017/04/19 18:46:47 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -199,7 +199,7 @@ static int testobjref1 (global_State *g, GCObject *f, GCObject *t) { if (isdead(g,t)) return 0; if (issweepphase(g)) return 1; /* no invariants */ - else if (g->gckind == KGC_NORMAL) + else if (g->gckind == KGC_INC) return !(isblack(f) && iswhite(t)); /* basic incremental invariant */ else { /* generational mode */ if ((getage(f) == G_OLD && isblack(f)) && !isold(t)) -- cgit v1.2.3-55-g6feb