From 85e4b2948071d4b219dd8de1b1acf5b131deb156 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 15 May 2016 22:06:36 -0700 Subject: Fix incorrect comment. * gc.c (gc_set): Should say "promote obj to gen 1", not "to gen 0". --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 8b513654..b515842d 100644 --- a/gc.c +++ b/gc.c @@ -762,7 +762,7 @@ val gc_set(loc lo, val obj) /* obj can't be in gen 0 because there are no baby objects after gc */ } else { /* We have no space to in checkobj record this backreference, and gc is - not available to promote obj to gen 0. We must schedule a full gc. */ + not available to promote obj to gen 1. We must schedule a full gc. */ full_gc = 1; } } -- cgit v1.2.3