summaryrefslogtreecommitdiff
path: root/compiler/simplCore
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2018-06-18 14:22:54 +0200
committerGabor Greif <ggreif@gmail.com>2018-06-18 14:41:54 +0200
commit6ac8a72f7a044f44734a0270487c3bb6fb186d53 (patch)
tree615d72e490c418f79f4fb18d1453412394247af2 /compiler/simplCore
parent30b029bea9abe1f5f2855d9e7f0ae26a18cf049b (diff)
downloadhaskell-6ac8a72f7a044f44734a0270487c3bb6fb186d53.tar.gz
Typofixes in docs and comments [ci skip]
Diffstat (limited to 'compiler/simplCore')
-rw-r--r--compiler/simplCore/SimplUtils.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/simplCore/SimplUtils.hs b/compiler/simplCore/SimplUtils.hs
index 3b16628732..e5d9d33899 100644
--- a/compiler/simplCore/SimplUtils.hs
+++ b/compiler/simplCore/SimplUtils.hs
@@ -1088,7 +1088,7 @@ spectral/mandel/Mandel.hs, where the mandelset function gets a useful
let-float if you inline windowToViewport
However, as usual for Gentle mode, do not inline things that are
-inactive in the intial stages. See Note [Gentle mode].
+inactive in the initial stages. See Note [Gentle mode].
Note [Stable unfoldings and preInlineUnconditionally]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -2231,7 +2231,7 @@ mkCase3 _dflags scrut bndr alts_ty alts
= return (Case scrut bndr alts_ty alts)
-- See Note [Exitification] and Note [Do not inline exit join points] in Exitify.hs
--- This lives here (and not in Id) becuase occurrence info is only valid on
+-- This lives here (and not in Id) because occurrence info is only valid on
-- InIds, so it's crucial that isExitJoinId is only called on freshly
-- occ-analysed code. It's not a generic function you can call anywhere.
isExitJoinId :: Var -> Bool