diff options
author | Gabor Greif <ggreif@gmail.com> | 2013-08-19 11:43:02 +0200 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2013-08-20 11:55:30 +0200 |
commit | 9325b18fb964f359fa76c40d831c9a2d847195fb (patch) | |
tree | 1f55b07a62dc82cc56a26bcd740471388f3cfea3 | |
parent | 21db80384bc80d3988a4dead3824edf43d416395 (diff) | |
download | haskell-9325b18fb964f359fa76c40d831c9a2d847195fb.tar.gz |
Comments only
-rw-r--r-- | compiler/deSugar/MatchLit.lhs | 2 | ||||
-rw-r--r-- | compiler/simplCore/SimplUtils.lhs | 2 | ||||
-rw-r--r-- | 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 4e1644df7e..23538bec82 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 4e40e31d9a..ab4937e8f3 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 5810a35212..84beac2d51 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> |