summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Unfold.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Core/Unfold.hs')
-rw-r--r--compiler/GHC/Core/Unfold.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/GHC/Core/Unfold.hs b/compiler/GHC/Core/Unfold.hs
index b6e507a7b0..49006c66b6 100644
--- a/compiler/GHC/Core/Unfold.hs
+++ b/compiler/GHC/Core/Unfold.hs
@@ -48,7 +48,7 @@ import GhcPrelude
import GHC.Driver.Session
import GHC.Core
-import OccurAnal ( occurAnalyseExpr_NoBinderSwap )
+import GHC.Core.Op.OccurAnal ( occurAnalyseExpr_NoBinderSwap )
import GHC.Core.SimpleOpt
import GHC.Core.Arity ( manifestArity )
import GHC.Core.Utils
@@ -121,7 +121,7 @@ mkCompulsoryUnfolding expr -- Used for things that absolutely must be un
, ug_unsat_ok = unSaturatedOk, ug_boring_ok = boringCxtOk })
mkWorkerUnfolding :: DynFlags -> (CoreExpr -> CoreExpr) -> Unfolding -> Unfolding
--- See Note [Worker-wrapper for INLINABLE functions] in WorkWrap
+-- See Note [Worker-wrapper for INLINABLE functions] in GHC.Core.Op.WorkWrap
mkWorkerUnfolding dflags work_fn
(CoreUnfolding { uf_src = src, uf_tmpl = tmpl
, uf_is_top = top_lvl })
@@ -537,7 +537,7 @@ result of #4978.
Note [Do not inline top-level bottoming functions]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The FloatOut pass has gone to some trouble to float out calls to 'error'
-and similar friends. See Note [Bottoming floats] in SetLevels.
+and similar friends. See Note [Bottoming floats] in GHC.Core.Op.SetLevels.
Do not re-inline them! But we *do* still inline if they are very small
(the uncondInline stuff).
@@ -590,7 +590,7 @@ Things to note:
unconditional-inline thing for *trivial* expressions.
NB: you might think that PostInlineUnconditionally would do this
- but it doesn't fire for top-level things; see SimplUtils
+ but it doesn't fire for top-level things; see GHC.Core.Op.Simplify.Utils
Note [Top level and postInlineUnconditionally]
Note [Count coercion arguments in boring contexts]