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

Simon Marlow simonmar@glass.cse.ogi.edu
Wed, 17 Oct 2001 07:17:12 -0700


simonmar    2001/10/17 07:17:12 PDT

  Modified files:
    ghc/compiler/simplCore SimplUtils.lhs 
  Log:
  Fix a small performance bug.  In mkAlts, when calculating the
  impossible constructors, we were looking at the unfolding for the case
  binder instead of the scrutinee, with the result that we sometimes
  didn't notice that a DEFAULT case could be resolved into a specific
  pattern.
  
  Revision  Changes    Path
  1.75      +3 -1      fptools/ghc/compiler/simplCore/SimplUtils.lhs