summaryrefslogtreecommitdiff
path: root/rts/sm/GC.c
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2020-01-10 10:47:46 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-12 21:30:08 -0500
commit0b5ddc7f2c10ee84631dd6cb5f6368afbc389449 (patch)
treed9a77d5b2c55d75d9ae5b6fa199612315de9d163 /rts/sm/GC.c
parent350e2b78788d47255d27489dfc62d664498b5de4 (diff)
downloadhaskell-0b5ddc7f2c10ee84631dd6cb5f6368afbc389449.tar.gz
Fix more typos, via an improved Levenshtein-style corrector
Diffstat (limited to 'rts/sm/GC.c')
-rw-r--r--rts/sm/GC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index a560c2c8fd..aac8d974ae 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -596,7 +596,7 @@ GarbageCollect (uint32_t collect_gen,
/* free old memory and shift to-space into from-space for all
* the collected generations (except the allocation area). These
- * freed blocks will probaby be quickly recycled.
+ * freed blocks will probably be quickly recycled.
*/
if (gen->mark)
{
@@ -646,7 +646,7 @@ GarbageCollect (uint32_t collect_gen,
ASSERT(countBlocks(gen->blocks) == gen->n_blocks);
ASSERT(countOccupied(gen->blocks) == gen->n_words);
}
- else // not copacted
+ else // not compacted
{
freeChain(gen->old_blocks);
}