diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2022-07-07 11:42:21 +0100 |
---|---|---|
committer | Zubin <zubin.duggal@gmail.com> | 2022-07-12 13:26:52 +0000 |
commit | 89ba46554025f413959be53b2868ba1a79f12ae2 (patch) | |
tree | c85974ee749f9d53eb6aa99cc2aff73ccd02e136 /compiler/GHC/Core/Opt/Arity.hs | |
parent | 6e8d90560b4a9269c56f7c1ee4d29d1077680f7b (diff) | |
download | haskell-wip/T21452.tar.gz |
Tiny documentation wibbles (comments only)wip/T21452
Diffstat (limited to 'compiler/GHC/Core/Opt/Arity.hs')
-rw-r--r-- | compiler/GHC/Core/Opt/Arity.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Opt/Arity.hs b/compiler/GHC/Core/Opt/Arity.hs index 84af26e257..8a0a69ca97 100644 --- a/compiler/GHC/Core/Opt/Arity.hs +++ b/compiler/GHC/Core/Opt/Arity.hs @@ -2156,7 +2156,7 @@ eta-reduce that are specific to Core and GHC: See Note [Eta expanding primops]. W. We may not undersaturate StrictWorkerIds. - See Note [CBV Function Ids] in GHC.CoreToStg.Prep. + See Note [CBV Function Ids] in GHC.Types.Id.Info. Here is a list of historic accidents surrounding unsound eta-reduction: @@ -2474,7 +2474,7 @@ canEtaReduceToArity fun dest_join_arity dest_arity = || ( dest_arity < idCbvMarkArity fun ) -- (W) -- Don't undersaturate StrictWorkerIds. - -- See Note [CBV Function Ids] in GHC.CoreToStg.Prep. + -- See Note [CBV Function Ids] in GHC.Types.Id.Info. || isLinearType (idType fun) -- (L) -- Don't perform eta reduction on linear types. |