[project @ 2005-04-05 15:38:01 by simonmar]
authorsimonmar <unknown>
Tue, 5 Apr 2005 15:38:01 +0000 (15:38 +0000)
committersimonmar <unknown>
Tue, 5 Apr 2005 15:38:01 +0000 (15:38 +0000)
commit8646084688fadcc6cce0db55d268b1a7758fc274
tree23d2bc56712ada2287c9686ac95c665b7564f193
parent7e3bd52c3eb08d1e5458044d1d1314770faa15f1
[project @ 2005-04-05 15:38:01 by simonmar]
Instead of gathering a set of 'candidates' in the occurrence
analyser, use the isLocalId predicate to identify things
for which occurrence information is required.  By defn
isLocalId is true of Ids (whether top level or not) defined
in this module, and that is exactly what we want.

The 'candidates set' predated the LocalId invariant, I think.
ghc/compiler/simplCore/OccurAnal.lhs