patch applied (ghc): Worker/wrapper should make INLINE if it doesn't w/w

Simon Peyton Jones simonpj at microsoft.com
Fri Apr 3 06:43:02 EDT 2009


Fri Apr  3 01:43:33 PDT 2009  simonpj at microsoft.com
  * Worker/wrapper should make INLINE if it doesn't w/w
  Ignore-this: 5ef3c02c272ad59616fa7dfaa0dc0381
  
  If worker/wrapper decides not to w/w something on the grounds that
  it's too small, it should add an INLINE pragma.  Otherwise, later
  in the day that small thing might now be big, and we'd wish we'd
  done the w/w after all.  This only made a difference in one nofib 
  program (bspt), but it's an easy change.
  
  See Note [Don't w/w inline things (a) and (b)]
  

    M ./compiler/stranal/WorkWrap.lhs -12 +37

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090403084333-1287e-2cf51b86222105a479bc3f72583dc940590b7487.gz



More information about the Cvs-ghc mailing list