summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2021-02-05 09:03:21 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-02-06 09:30:34 -0500
commit3da472f0e78fe5f1068be0cc2b1c0762532da9f9 (patch)
treed88a147c49aa25fff13866de9b87c712213fbd3f /compiler/GHC/Cmm
parent9b7dcd80f16efda57e4e51e39d61b55a11c72014 (diff)
downloadhaskell-3da472f0e78fe5f1068be0cc2b1c0762532da9f9.tar.gz
Fix typos
Diffstat (limited to 'compiler/GHC/Cmm')
-rw-r--r--compiler/GHC/Cmm/CLabel.hs2
-rw-r--r--compiler/GHC/Cmm/Info/Build.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Cmm/CLabel.hs b/compiler/GHC/Cmm/CLabel.hs
index 75559edd2e..4b30bc8cf1 100644
--- a/compiler/GHC/Cmm/CLabel.hs
+++ b/compiler/GHC/Cmm/CLabel.hs
@@ -1378,7 +1378,7 @@ pprCLabel platform sty lbl =
-- Note that these labels are *not* referred to by code. They are strictly for
-- diagnostics purposes.
--
--- To avoid confusion, it is desireable to add a module-qualifier to the
+-- To avoid confusion, it is desirable to add a module-qualifier to the
-- symbol name. However, the Name type's Internal constructor doesn't carry
-- knowledge of the current Module. Consequently, we have to pass this around
-- explicitly.
diff --git a/compiler/GHC/Cmm/Info/Build.hs b/compiler/GHC/Cmm/Info/Build.hs
index b43eaa1257..1d3431c4af 100644
--- a/compiler/GHC/Cmm/Info/Build.hs
+++ b/compiler/GHC/Cmm/Info/Build.hs
@@ -441,7 +441,7 @@ counters are not exported. So we ignore ticky counters in SRT analysis (which
are never CAFFY and never exported).
Not doing this caused #17947 where we analysed the function first mapped the
-name to CAFFY. We then saw the ticky constructor, and becuase it has the same
+name to CAFFY. We then saw the ticky constructor, and because it has the same
Name as the function and is not CAFFY we overrode the CafInfo of the name as
non-CAFFY.
-}