simonmar 2002/11/19 06:16:46 PST
Modified files:
ghc/compiler/basicTypes Id.lhs
ghc/compiler/coreSyn CoreUtils.lhs
Log:
- Fix a bug in eta-expansion of an application; it probably never bit
us in practice.
- Change the behaviour of State#-lambdas: previously a State# lambda
was considered to be one-shot for the purposes of inlining and
eta-expansion. Both can lead to unbounded extra work, but inlining
is more likely to kill us, and eta-expansion is the case we mostly
care about (getting the State# lambda to the outside of the function
is often very important). So now we only consider a State# lambda to be
one-shot in eta expansion, not for inlining.
Revision Changes Path
1.109 +1 -23 fptools/ghc/compiler/basicTypes/Id.lhs
1.103 +25 -3 fptools/ghc/compiler/coreSyn/CoreUtils.lhs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc