patch applied (ghc): Retain InlinePragInfo on wrappers

Simon Peyton Jones simonpj at microsoft.com
Wed May 17 11:58:50 EDT 2006


Wed May 17 08:47:25 PDT 2006  simonpj at microsoft.com
  * Retain InlinePragInfo on wrappers
  
  For some reason, when doing the worker/wrapper split, we transferred the
  InlinePragInfo from the original function, but expunging it from the wrapper.
  This meant, for example, that a NOINLINE function would have its wrapper
  inlined, which isn't sensible.
  
  For a change, fixing a bug involves only deleting code!
  

    M ./compiler/stranal/WorkWrap.lhs -2 +7


More information about the Cvs-ghc mailing list