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

Simon Marlow marlowsd at gmail.com
Tue Apr 12 10:44:42 CEST 2011


On 11/04/2011 22:29, Edward Z. Yang wrote:

> 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 }
>   	}

That might well have been a space leak.  Good to squash it!

Cheers,
	Simon



More information about the Cvs-ghc mailing list