diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-01-30 08:45:49 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-01 12:29:26 -0500 |
commit | 88fba8a4b3c22e953a634b81dd0b67ec66eb5e72 (patch) | |
tree | 75a46332ad32cfeaf4f4d52b3b60fd452f2493b6 /rts/sm/NonMovingScav.c | |
parent | 06185102bb06d6d56e00d40172a6a473fc228501 (diff) | |
download | haskell-88fba8a4b3c22e953a634b81dd0b67ec66eb5e72.tar.gz |
Fix a few Note inconsistencies
Diffstat (limited to 'rts/sm/NonMovingScav.c')
-rw-r--r-- | rts/sm/NonMovingScav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/sm/NonMovingScav.c b/rts/sm/NonMovingScav.c index 4fcbc5881c..56ebe5ffe4 100644 --- a/rts/sm/NonMovingScav.c +++ b/rts/sm/NonMovingScav.c @@ -32,7 +32,7 @@ nonmovingScavengeOne (StgClosure *q) if (gct->failed_to_evac) { mvar->header.info = &stg_MVAR_DIRTY_info; - // Note [Dirty flags in the non-moving collector] in NonMoving.c + // See Note [Dirty flags in the non-moving collector] in NonMoving.c markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) mvar->head); markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) mvar->tail); markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) mvar->value); @@ -52,7 +52,7 @@ nonmovingScavengeOne (StgClosure *q) if (gct->failed_to_evac) { tvar->header.info = &stg_TVAR_DIRTY_info; - // Note [Dirty flags in the non-moving collector] in NonMoving.c + // See Note [Dirty flags in the non-moving collector] in NonMoving.c markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) tvar->current_value); markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) tvar->first_watch_queue_entry); } else { @@ -177,7 +177,7 @@ nonmovingScavengeOne (StgClosure *q) if (gct->failed_to_evac) { ((StgClosure *)q)->header.info = &stg_MUT_VAR_DIRTY_info; - // Note [Dirty flags in the non-moving collector] in NonMoving.c + // See Note [Dirty flags in the non-moving collector] in NonMoving.c markQueuePushClosureGC(&gct->cap->upd_rem_set.queue, (StgClosure *) mv->var); } else { ((StgClosure *)q)->header.info = &stg_MUT_VAR_CLEAN_info; |