patch applied (ghc): Don't do SpecConstr on NOINLINE things (Trac #4064)

Simon Peyton Jones simonpj at microsoft.com
Tue May 25 07:41:55 EDT 2010


Tue May 25 04:28:07 PDT 2010  simonpj at microsoft.com
  * Don't do SpecConstr on NOINLINE things (Trac #4064)
  
  Since the RULE from specialising gets the same Activation as
  the inlining for the Id itself there's no point in specialising
  a NOINLINE thing, because the rule will be permanently switched
  off.
  
  See Note [Transfer activation] in SpecConstr
  and Note [Auto-specialisation and RULES] in Specialise.

    M ./compiler/specialise/SpecConstr.lhs -1 +9

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100525112807-1287e-cd9f84a22e76b32ddfef1e0ef4087558a8213c81.gz



More information about the Cvs-ghc mailing list