From 86a2ebf8deae9505c7a183acf0847b3e53b43fee Mon Sep 17 00:00:00 2001 From: Simon Peyton Jones Date: Fri, 23 May 2014 09:16:00 +0100 Subject: Comments only --- compiler/stranal/WorkWrap.lhs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'compiler/stranal') diff --git a/compiler/stranal/WorkWrap.lhs b/compiler/stranal/WorkWrap.lhs index f845151098..f7717ed28c 100644 --- a/compiler/stranal/WorkWrap.lhs +++ b/compiler/stranal/WorkWrap.lhs @@ -232,7 +232,7 @@ strictness. Eg if we have g :: Int -> Int g x = f x x -- Provokes a specialisation for f - module Bsr where + module Bar where import Foo h :: Int -> Int @@ -246,6 +246,10 @@ more robust to give the wrapper an Activation of (ActiveAfter 0), so that it becomes active in an importing module at the same time that it appears in the first place in the defining module. +At one stage I tried making the wrapper inlining always-active, and +that had a very bad effect on nofib/imaginary/x2n1; a wrapper was +inlined before the specialisation fired. + \begin{code} tryWW :: DynFlags -> FamInstEnvs -- cgit v1.2.1