[commit: ghc] master: Remove debugging CmmComment from old code generator. (d76fcd2)

Edward Z. Yang ezyang at MIT.EDU
Mon Apr 11 23:29:42 CEST 2011


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

On branch  : master

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

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

commit d76fcd210a944bec112e3bd0888ed5ead5e7b816
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Mon Apr 11 15:33:15 2011 +0100

    Remove debugging CmmComment from old code generator.
    
    Warning: This change seems to tickle a bug in ghc-stage1 compiler
    built with GHC 6.12.1 during validates.
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>

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

 compiler/codeGen/CgClosure.lhs |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/compiler/codeGen/CgClosure.lhs b/compiler/codeGen/CgClosure.lhs
index da44122..d158bf7 100644
--- a/compiler/codeGen/CgClosure.lhs
+++ b/compiler/codeGen/CgClosure.lhs
@@ -250,7 +250,6 @@ closureCodeBody _binder_info cl_info cc [{- No args i.e. thunk -}] body = do
 		-- in update frame CAF/DICT functions will be
 		-- subsumed by this enclosing cc
 	    { enterCostCentre cl_info cc body
-            ; stmtsC [CmmComment $ mkFastString $ showSDoc $ ppr body]
 	    ; cgExpr body }
 	}
     





More information about the Cvs-ghc mailing list