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

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Fri, 12 Jan 2001 03:36:24 -0800


simonpj     2001/01/12 03:36:24 PST

  Modified files:
    ghc/compiler/simplCore SimplCore.lhs 
  Log:
  Amazingly, SimplCore.simplifyExpr didn't call the occurrence
  analyser, so expressions typed in at the prompt were being
  simplified very weedily.  Ditto the LHS and RHS of RULES.
  
  So SimplCore.simplExprGently now does the business.  It runs
  the simplifier twice because one pass leaves tons of crud.
  
  This doesn't fix any bugs but it is cleaner.
  
  Revision  Changes    Path
  1.86      +27 -12    fptools/ghc/compiler/simplCore/SimplCore.lhs