FIX BUILD: a glitch in the new rules and inlining stuff
authorsimonpj@microsoft.com <unknown>
Tue, 30 Oct 2007 11:38:57 +0000 (11:38 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 30 Oct 2007 11:38:57 +0000 (11:38 +0000)
commitbe7bf80fec1f471ceccbbe06885c265411baf25e
treee16021e511bfe44249a57d5b9b672e620da10cc8
parentebd091d5cd703b249838baaa125e6c0fa0fe0e45
FIX BUILD: a glitch in the new rules and inlining stuff

Don't re-add the worker info to a binder until completeBind. It's not
needed in its own RHS, and it may be replaced, via the substitution
following postInlineUnconditionally.

(Fixes build of the stage2 compiler which fell over when Coercion.lhs
was being compiled.)
compiler/basicTypes/IdInfo.lhs
compiler/simplCore/SimplEnv.lhs
compiler/simplCore/Simplify.lhs