Commit 0b4b4a34 authored by Gabor Greif's avatar Gabor Greif 💬

Typos in comments and manual [ci skip]

parent a29132e9
......@@ -510,7 +510,7 @@ toBlockListEntryFirst g
-- have both true and false successors. Block ordering can make a big difference
-- in performance in the LLVM backend. Note that we rely crucially on the order
-- of successors returned for CmmCondBranch by the NonLocal instance for CmmNode
-- defind in cmm/CmmNode.hs. -GBM
-- defined in cmm/CmmNode.hs. -GBM
toBlockListEntryFirstFalseFallthrough :: CmmGraph -> [CmmBlock]
toBlockListEntryFirstFalseFallthrough g
| mapNull m = []
......@@ -446,7 +446,7 @@ Note [Binders]
rather than
cm_lam :: TypeMapG (CoreMapG a)
* We don't need to look at the type of some binders, notalby
* We don't need to look at the type of some binders, notably
- the case binder in (Case _ b _ _)
- the binders in an alternative
because they are totally fixed by the context
......@@ -833,7 +833,7 @@ rnStmt ctxt rnBody (L loc (BindStmt pat body _ _ _)) thing_inside
; xMonadFailEnabled <- fmap (xopt LangExt.MonadFailDesugaring) getDynFlags
; let getFailFunction
-- If the pattern is irrefutible (e.g.: wildcard, tuple,
-- If the pattern is irrefutable (e.g.: wildcard, tuple,
-- ~pat, etc.) we should not need to fail.
| isIrrefutableHsPat pat
= return (noSyntaxExpr, emptyFVs)
......@@ -648,7 +648,7 @@ by saying ``-fno-wombat``.
:default: on
When solving constraints, try to eagerly solve
super classes using availible dictionaries.
super classes using available dictionaries.
For example::
......@@ -663,7 +663,7 @@ by saying ``-fno-wombat``.
constraint from the context because we have `C Int b` and that provides us
solution for `Num Int`. However, we can often produce much better code
by directly solving for an availible `Num Int` dictionary we might have at
by directly solving for an available `Num Int` dictionary we might have at
hand. This removes potentially many layers of indirection and crucially
allows other optimisations to fire as the dictionary will be statically
known and selector functions can be inlined.
......@@ -893,7 +893,7 @@ GMP_LIB_DIRS = @GMP_LIB_DIRS@
# See Note [Disable -O2 in unregisteride mode]
# See Note [Disable -O2 in unregisterised mode]
# Be careful: 'GhcUnregisterised' should be defined earlier in this file.
ifeq "$(GhcUnregisterised)" "YES"
......@@ -903,8 +903,8 @@ GhcStage3HcOpts=
# Note [Disable -O2 in unregisteride mode]
# Disable -O2 optimization in uregisterised more. Otherwise amount
# Note [Disable -O2 in unregisterised mode]
# Disable -O2 optimization in unregisterised mode. Otherwise amount
# of generated C code # makes things very slow to compile (~5 minutes
# on core-i7 for 'compiler/hsSyn/HsExpr.hs') and sometimes not compile
# at all: powerpc64 overflows TOC section on 'compiler/hsSyn/HsExpr.hs'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment