Skip to content
  • Simon Peyton Jones's avatar
    Don't do SpecConstr on NOINLINE things (Trac #4064) · f03b9562
    Simon Peyton Jones authored
    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.
    f03b9562