cvs commit: fptools/ghc/compiler/simplCore OccurAnal.lhs
simonmar at haskell.org
Tue Apr 5 11:38:01 EDT 2005
simonmar 2005/04/05 08:38:01 PDT
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.
Revision Changes Path
1.75 +36 -61 fptools/ghc/compiler/simplCore/OccurAnal.lhs
More information about the Cvs-ghc