summaryrefslogtreecommitdiffstats
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:06:36 -0700
commitcaa68b4eed7f2a4c1f4afc2672915f7ca9de00e8 (patch)
treeaf8fbebdd3a95d54bce3bd5e8690e5c56c5b2670
parentaba17704de0b21bd51b16f142335236ad1348a6c (diff)
downloadtxr-caa68b4eed7f2a4c1f4afc2672915f7ca9de00e8.tar.gz
txr-caa68b4eed7f2a4c1f4afc2672915f7ca9de00e8.tar.bz2
txr-caa68b4eed7f2a4c1f4afc2672915f7ca9de00e8.zip
Fix incorrect comment.
* gc.c (gc_set): Should say "promote obj to gen 1", not "to gen 0".
-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;
}
}