cvs commit: fptools/ghc/compiler/simplCore OccurAnal.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Wed, 24 Oct 2001 06:46:58 -0700


simonpj     2001/10/24 06:46:58 PDT

  Modified files:
    ghc/compiler/simplCore OccurAnal.lhs 
  Log:
  	----------------------------------------------
  	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.
  
  Revision  Changes    Path
  1.62      +13 -12    fptools/ghc/compiler/simplCore/OccurAnal.lhs