[project @ 2001-12-10 12:26:10 by simonpj]
authorsimonpj <unknown>
Mon, 10 Dec 2001 12:26:10 +0000 (12:26 +0000)
committersimonpj <unknown>
Mon, 10 Dec 2001 12:26:10 +0000 (12:26 +0000)
commit7953d080ab53458e52ef7668816cef3a0ed42809
treebfc65ca26a290376c3e1807166f85ce061eb0682
parent5ca4a0134475bbc790af6ce7d7517a97e877bff6
[project @ 2001-12-10 12:26:10 by simonpj]
------------------------------
Don't do CPR w/w for constants
------------------------------

We don't want to do a CPR split for a constant
function.  So if the worker will get no (value) args,
we disable the CPR transformation.

This infelicity exposed a buglet in the full laziness
transformation; we were floating an expression outside
an InlineMe context.   I've take the blunderbuss approach
now, of effectively disabling full laziness inside an
InlineMe.  Seems reasonable.
ghc/compiler/simplCore/SetLevels.lhs
ghc/compiler/stranal/WwLib.lhs