summaryrefslogtreecommitdiff
path: root/compiler/codeGen
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2016-07-26 00:34:48 +0200
committerGabor Greif <ggreif@gmail.com>2016-07-26 00:34:48 +0200
commit1967d74417759ba9228100a8fed715d99b9e6d5a (patch)
treece601baa23017300354a8195c8a6fbf40e2276ca /compiler/codeGen
parent4036c1f110578f8e2813295116b79a5a06e2bf59 (diff)
downloadhaskell-1967d74417759ba9228100a8fed715d99b9e6d5a.tar.gz
Some typos in comments
Diffstat (limited to 'compiler/codeGen')
-rw-r--r--compiler/codeGen/StgCmmExpr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/codeGen/StgCmmExpr.hs b/compiler/codeGen/StgCmmExpr.hs
index 142d30cddb..1965754399 100644
--- a/compiler/codeGen/StgCmmExpr.hs
+++ b/compiler/codeGen/StgCmmExpr.hs
@@ -227,7 +227,7 @@ Suppose the inner loop is P->R->P->R etc. Then here is
how many heap checks we get in the *inner loop* under various
conditions
- Alooc Heap check in branches (!Q!, !R!)?
+ Alloc Heap check in branches (!Q!, !R!)?
P Q R yes no (absorb to !P!)
--------------------------------------
n n n 0 0
@@ -877,7 +877,7 @@ emitEnter fun = do
--
-- Note in particular that the label Lret is used as a
-- destination by both the tag-test and the call. This is
- -- becase Lret will necessarily be a proc-point, and we want to
+ -- because Lret will necessarily be a proc-point, and we want to
-- ensure that we generate only one proc-point for this
-- sequence.
--