cvs commit: fptools/ghc/compiler/basicTypes MkId.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Fri, 7 Sep 2001 05:43:28 -0700


simonpj     2001/09/07 05:43:28 PDT

  Modified files:
    ghc/compiler/basicTypes MkId.lhs 
  Log:
  	-----------------------------------
  	Pin on accurate strictness info for
  	record and dictionary selectors
  	-----------------------------------
          [part of 3 related commits]
  
  This fixes a long-standing infelicity.  Sometimes selectors aren't
  inlined until after strictness analysis, so if we don't have decent
  strictness info on them we get bad strictness results.
  
  For record selectors, the unboxing-strict-fields stuff makes it hard
  to figurwe out the correct strictness, so we just invoke the demand
  analyser to work it out.
  
  Revision  Changes    Path
  1.73      +65 -43    fptools/ghc/compiler/basicTypes/MkId.lhs