[commit: ghc] master: Comments only (9325b18)

git at git.haskell.org git at git.haskell.org
Tue Aug 20 11:56:33 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9325b18fb964f359fa76c40d831c9a2d847195fb/ghc

>---------------------------------------------------------------

commit 9325b18fb964f359fa76c40d831c9a2d847195fb
Author: Gabor Greif <ggreif at gmail.com>
Date:   Mon Aug 19 11:43:02 2013 +0200

    Comments only


>---------------------------------------------------------------

9325b18fb964f359fa76c40d831c9a2d847195fb
 compiler/deSugar/MatchLit.lhs     |    2 +-
 compiler/simplCore/SimplUtils.lhs |    2 +-
 docs/comm/the-beast/ncg.html      |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler/deSugar/MatchLit.lhs b/compiler/deSugar/MatchLit.lhs
index 4e1644d..23538be 100644
--- a/compiler/deSugar/MatchLit.lhs
+++ b/compiler/deSugar/MatchLit.lhs
@@ -108,7 +108,7 @@ Note [Literal short cut]
 The type checker tries to do this short-cutting as early as possible, but
 because of unification etc, more information is available to the desugarer.
 And where it's possible to generate the correct literal right away, it's
-much better do do so.
+much better to do so.
 
 
 \begin{code}
diff --git a/compiler/simplCore/SimplUtils.lhs b/compiler/simplCore/SimplUtils.lhs
index 4e40e31..ab4937e 100644
--- a/compiler/simplCore/SimplUtils.lhs
+++ b/compiler/simplCore/SimplUtils.lhs
@@ -1510,7 +1510,7 @@ prepareAlts tries these things:
 
 Here "cannot match" includes knowledge from GADTs
 
-It's a good idea do do this stuff before simplifying the alternatives, to
+It's a good idea to do this stuff before simplifying the alternatives, to
 avoid simplifying alternatives we know can't happen, and to come up with
 the list of constructors that are handled, to put into the IdInfo of the
 case binder, for use when simplifying the alternatives.
diff --git a/docs/comm/the-beast/ncg.html b/docs/comm/the-beast/ncg.html
index 5810a35..84beac2 100644
--- a/docs/comm/the-beast/ncg.html
+++ b/docs/comm/the-beast/ncg.html
@@ -542,7 +542,7 @@ the reg-alloc abstraction (implicitly) assumes.
 Our strategy is: do a good job for the common small subset, that is
 integer loads, stores, address calculations, basic ALU ops (+, -,
 and, or, xor), and jumps.  That covers the vast majority of 
-executed insns.  And indeed we do do a good job, with a loss of
+executed insns.  And indeed we do a good job, with a loss of
 less than 2% compared with gcc.
 <p>
 Initially we tried to handle integer instructions with awkward
@@ -742,7 +742,7 @@ other way is a total time waster.
 
     <p><small>
 <!-- hhmts start -->
-Last modified: Fri Feb  1 16:14:11 GMT 2002
+Last modified: Mon Aug 19 11:41:43 CEST 2013
 <!-- hhmts end -->
     </small>
   </body>





More information about the ghc-commits mailing list