simonpj 2003/09/23 08:15:04 PDT
Modified files:
ghc/compiler/simplCore Simplify.lhs
ghc/compiler/basicTypes IdInfo.lhs
Log:
--------------------------
Move demand-zapping code to where it belongs
--------------------------
A rather subtle point in the simplifier concerns the zapping of demand-info
when the RHS of a binding is a value. This used to be tucked away inside
IdInfo where it was hard to find. This commit moves the code to Simplify,
so it occurs where you'd look for it. Along with copious comments.
See the zapDemandInfo in Simplify.completeLazyBind
Revision Changes Path
1.148 +27 -10 fptools/ghc/compiler/simplCore/Simplify.lhs
1.111 +0 -13 fptools/ghc/compiler/basicTypes/IdInfo.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc