summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorEric Lindblad <lindblad@gmx.us>2022-05-01 16:53:27 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-05-01 22:23:11 -0400
commit4eaf0f33c10b7e8fe544f848520df075fc69ef25 (patch)
treef2188cfcf9031336dc04fbc2d64ebbd959c224f1 /libraries
parent2b2e30203a125dc5bfe70f3df7b39787aaf62b1e (diff)
downloadhaskell-4eaf0f33c10b7e8fe544f848520df075fc69ef25.tar.gz
typos
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ghc-boot/GHC/Data/ShortText.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghc-boot/GHC/Data/ShortText.hs b/libraries/ghc-boot/GHC/Data/ShortText.hs
index 815c3edb64..2b3038ccfc 100644
--- a/libraries/ghc-boot/GHC/Data/ShortText.hs
+++ b/libraries/ghc-boot/GHC/Data/ShortText.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE BangPatterns, MagicHash, UnboxedTuples, GeneralizedNewtypeDeriving, DerivingStrategies, CPP #-}
{-# OPTIONS_GHC -O2 -funbox-strict-fields #-}
--- gross hack: we manuvered ourselves into a position where we can't boot GHC with a LLVM based GHC anymore.
+-- gross hack: we maneuvered ourselves into a position where we can't boot GHC with a LLVM based GHC anymore.
-- LLVM based GHC's fail to compile memcmp ffi calls. These end up as memcmp$def in the llvm ir, however we
-- don't have any prototypes and subsequently the llvm toolchain chokes on them. Since 7fdcce6d, we use
-- ShortText for the package database. This however introduces this very module; which through inlining ends
@@ -10,7 +10,7 @@
-- The solution thusly is to force late binding via the linker instead of inlining when comping with the
-- bootstrap compiler. This will produce a slower (slightly less optimised) stage1 compiler only.
--
--- See issue 18857. hsyl20 deserves credit for coming up with the idea for the soltuion.
+-- See issue 18857. hsyl20 deserves credit for coming up with the idea for the solution.
--
-- This can be removed when we exit the boot compiler window. Thus once we drop GHC-9.2 as boot compiler,
-- we can drop this code as well.