diff options
author | Jan HrĨek <honza.hrk@gmail.com> | 2020-06-24 15:55:39 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-28 09:20:22 -0400 |
commit | 68530b1cd45629e5a353a37df80195ac54d26ade (patch) | |
tree | a6aa929d32d9c1caff4ca57c5ffde238d7c9717a /compiler/GHC/Cmm | |
parent | 42f797b0ad034a92389e7081aa50ef4ab3434d01 (diff) | |
download | haskell-68530b1cd45629e5a353a37df80195ac54d26ade.tar.gz |
Fix duplicated words and typos in comments and user guide
Diffstat (limited to 'compiler/GHC/Cmm')
-rw-r--r-- | compiler/GHC/Cmm/Info/Build.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Cmm/Monad.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Cmm/Info/Build.hs b/compiler/GHC/Cmm/Info/Build.hs index fc3d21e2ca..92e2f671fb 100644 --- a/compiler/GHC/Cmm/Info/Build.hs +++ b/compiler/GHC/Cmm/Info/Build.hs @@ -1027,7 +1027,7 @@ oneSRT dflags staticFuns lbls caf_lbls isCAF cafs static_data = do -- "Referring to an SRT from the info table" of Note [SRTs]). However, -- when dynamic linking is used we cannot guarantee that the offset -- between the SRT and the info table will fit in the offset field. - -- Consequently we build a singleton SRT in in this case. + -- Consequently we build a singleton SRT in this case. not (labelDynamic config this_mod lbl) -- MachO relocations can't express offsets between compilation units at diff --git a/compiler/GHC/Cmm/Monad.hs b/compiler/GHC/Cmm/Monad.hs index 27cf51af4f..310b316e02 100644 --- a/compiler/GHC/Cmm/Monad.hs +++ b/compiler/GHC/Cmm/Monad.hs @@ -1,7 +1,7 @@ ----------------------------------------------------------------------------- -- A Parser monad with access to the 'DynFlags'. -- --- The 'P' monad only has access to the subset of of 'DynFlags' +-- The 'P' monad only has access to the subset of 'DynFlags' -- required for parsing Haskell. -- The parser for C-- requires access to a lot more of the 'DynFlags', |