simonpj 2003/09/11 09:46:17 PDT
Modified files:
ghc/compiler/coreSyn CoreUtils.lhs
Log:
Make sure that exprIsTrivial responds "False" to
(scc "foo" x)
We do not treat (_scc_ "foo" x) as trivial, because
a) it really generates code, (and a heap object when it's
a function arg) to capture the cost centre
b) see the note [SCC-and-exprIsTrivial] in Simplify.simplLazyBind
Revision Changes Path
1.117 +7 -1 fptools/ghc/compiler/coreSyn/CoreUtils.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc