X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FbasicTypes%2FIdInfo.lhs;h=9dda37e46919ede4e55917fc2a1b4e5add4b3587;hb=4cfb18e6e8f92c369e84a398de3002a20795c0c6;hp=77f0325ac3967b8d693e3480683fd1c6a66b7e28;hpb=7f14b79fedbaf11d30ce96ec8440986ff5b2ac09;p=ghc-hetmet.git diff --git a/compiler/basicTypes/IdInfo.lhs b/compiler/basicTypes/IdInfo.lhs index 77f0325..9dda37e 100644 --- a/compiler/basicTypes/IdInfo.lhs +++ b/compiler/basicTypes/IdInfo.lhs @@ -243,7 +243,10 @@ setUnfoldingInfoLazily info uf -- Lazy variant to avoid looking at the setUnfoldingInfo :: IdInfo -> Unfolding -> IdInfo setUnfoldingInfo info uf - = seqUnfolding uf `seq` -- This seq makes a BIG difference to Trac #4367 + = -- We don't seq the unfolding, as we generate intermediate + -- unfoldings which are just thrown away, so evaluating them is a + -- waste of time. + -- seqUnfolding uf `seq` info { unfoldingInfo = uf } setArityInfo :: IdInfo -> ArityInfo -> IdInfo