Simon Peyton Jones pushed to branch wip/T26548 at Glasgow Haskell Compiler / GHC

Commits:

1 changed file:

Changes:

  • compiler/GHC/Core/Utils.hs
    ... ... @@ -3005,7 +3005,7 @@ So there is no benefit.
    3005 3005
     -- See Note [Which Ids should be strictified]
    
    3006 3006
     -- See Note [CBV Function Ids] for more background.
    
    3007 3007
     shouldStrictifyIdForCbv :: Var -> Bool
    
    3008
    -shouldStrictifyIdForCbv = wantCbvForId False
    
    3008
    +shouldStrictifyIdForCbv = wantCbvForId True  -- False
    
    3009 3009
     
    
    3010 3010
     -- Like shouldStrictifyIdForCbv but also wants to use cbv for strict args.
    
    3011 3011
     shouldUseCbvForId :: Var -> Bool