diff options
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. |