[commit: ghc] master: Fix garbled comment wording (1378ba3)

git at git.haskell.org git at git.haskell.org
Fri Sep 19 11:30:50 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1378ba3ecf200176bb4932ef4f17471632eeea40/ghc

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

commit 1378ba3ecf200176bb4932ef4f17471632eeea40
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Sep 9 13:00:18 2014 +0100

    Fix garbled comment wording
    
    Thanks to Gabor for pointing this out


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

1378ba3ecf200176bb4932ef4f17471632eeea40
 compiler/simplCore/CSE.lhs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/simplCore/CSE.lhs b/compiler/simplCore/CSE.lhs
index 289388a..ccd4b2e 100644
--- a/compiler/simplCore/CSE.lhs
+++ b/compiler/simplCore/CSE.lhs
@@ -90,8 +90,9 @@ to the substitution
 
 Note [CSE for INLINE and NOINLINE]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-We are careful to with CSE inside functions that the user has marked as
-INLINE or NOINLINE. (Examples from Roman Leshchinskiy.)  Consider
+There are some subtle interactions of CSE with functions that the user
+has marked as INLINE or NOINLINE. (Examples from Roman Leshchinskiy.)
+Consider
 
         yes :: Int  {-# NOINLINE yes #-}
         yes = undefined



More information about the ghc-commits mailing list