Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e4d7535b81202f80fc8c3130e8313ce9a7387c92

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

commit e4d7535b81202f80fc8c3130e8313ce9a7387c92
Author: Simon Peyton Jones <[email protected]>
Date:   Mon Aug 1 15:23:34 2011 +0100

    Comments only

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

 compiler/simplCore/SimplUtils.lhs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/compiler/simplCore/SimplUtils.lhs 
b/compiler/simplCore/SimplUtils.lhs
index dd0ce4b..d521def 100644
--- a/compiler/simplCore/SimplUtils.lhs
+++ b/compiler/simplCore/SimplUtils.lhs
@@ -791,8 +791,9 @@ Inlining them won't make the program run faster!
 
 Note [Do not inline CoVars unconditionally]
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Coercion variables appear inside coercions, and have a separate
-substitution, so don't inline them via the IdSubst!
+Coercion variables appear inside coercions, and the RHS of a let-binding
+is a term (not a coercion) so we can't necessarily inline the latter in
+the former.
 
 \begin{code}
 preInlineUnconditionally :: SimplEnv -> TopLevelFlag -> InId -> InExpr -> Bool



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to