[project @ 2001-10-24 13:46:58 by simonpj]
authorsimonpj <unknown>
Wed, 24 Oct 2001 13:46:58 +0000 (13:46 +0000)
committersimonpj <unknown>
Wed, 24 Oct 2001 13:46:58 +0000 (13:46 +0000)
commita2e93eceac693c8570bfd21e13c252be6bb2faf6
tree0268026e3d7c0834182ba5efb79e6dc4d240c52e
parent96287c06a2bd86bd6175a08fc8d8ddd8e9b20c17
[project @ 2001-10-24 13:46:58 by simonpj]
----------------------------------------------
Minor fix to occurrence analyer (don't merge)
----------------------------------------------

Wasn't dealing right with the case

x = e
y = foldr x

Here we don't want to inline x, because y is a PAP.
ghc/compiler/simplCore/OccurAnal.lhs