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/StgMiscClosures.cmm | |
parent | 06185102bb06d6d56e00d40172a6a473fc228501 (diff) | |
download | haskell-88fba8a4b3c22e953a634b81dd0b67ec66eb5e72.tar.gz |
Fix a few Note inconsistencies
Diffstat (limited to 'rts/StgMiscClosures.cmm')
-rw-r--r-- | rts/StgMiscClosures.cmm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rts/StgMiscClosures.cmm b/rts/StgMiscClosures.cmm index b78fca74cc..e9186e3500 100644 --- a/rts/StgMiscClosures.cmm +++ b/rts/StgMiscClosures.cmm @@ -193,7 +193,7 @@ INFO_TABLE_RET( stg_ctoi_V, RET_BCO ) } /* Note [GHCi unboxed tuples stack spills] - + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In the calling convention for compiled code, a tuple is returned in registers, with everything that doesn't fit spilled onto the STG stack. @@ -334,7 +334,7 @@ MK_STG_CTOI_T(62) /* Note [GHCi tuple layout] - + ~~~~~~~~~~~~~~~~~~~~~~~~ the tuple_info word describes the register and stack usage of the tuple: [ ssss ssss rrrr rrrr rrrr rrrr rrrr rrrr ] @@ -900,8 +900,8 @@ INFO_TABLE( stg_COMPACT_NFDATA_DIRTY, 0, 9, COMPACT_NFDATA, "COMPACT_NFDATA", "C { foreign "C" barf("COMPACT_NFDATA_DIRTY object (%p) entered!", R1) never returns; } /* ---------------------------------------------------------------------------- - Note [CHARLIKE and INTLIKE closures.] - + Note [CHARLIKE and INTLIKE closures] + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ These are static representations of Chars and small Ints, so that we can remove dynamic Chars and Ints during garbage collection and replace them with references to the static objects. |