summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-05-15 22:06:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-05-15 22:09:18 -0700
commit85e4b2948071d4b219dd8de1b1acf5b131deb156 (patch)
treeaf8fbebdd3a95d54bce3bd5e8690e5c56c5b2670 /gc.c
parentb691d5d10d7bd646cb2ab6805cbaf7303c45a4f2 (diff)
downloadtxr-85e4b2948071d4b219dd8de1b1acf5b131deb156.tar.gz
txr-85e4b2948071d4b219dd8de1b1acf5b131deb156.tar.bz2
txr-85e4b2948071d4b219dd8de1b1acf5b131deb156.zip
Fix incorrect comment.
* gc.c (gc_set): Should say "promote obj to gen 1", not "to gen 0".
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}