X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fstranal%2FStrictAnal.lhs;h=a5efe30d3990e9cd58e379c6b5b8d13800123b0d;hb=aedb94f5f220b5e442b23ecc445fd38c8d9b6ba0;hp=7adbe3fd5ae7fa4e171184a24d9db113a76c02a4;hpb=b9e1d7891fbcacb1ebe66248124296c4ffc7d3d0;p=ghc-hetmet.git diff --git a/compiler/stranal/StrictAnal.lhs b/compiler/stranal/StrictAnal.lhs index 7adbe3f..a5efe30 100644 --- a/compiler/stranal/StrictAnal.lhs +++ b/compiler/stranal/StrictAnal.lhs @@ -95,8 +95,6 @@ strict workers. saBinds :: DynFlags -> [CoreBind] -> IO [CoreBind] saBinds dflags binds = do { - showPass dflags "Strictness analysis"; - -- Mark each binder with its strictness #ifndef OMIT_STRANAL_STATS let { (binds_w_strictness, sa_stats) = runState $ (saTopBinds binds) nullSaStats }; @@ -106,8 +104,7 @@ saBinds dflags binds let { binds_w_strictness = unSaM $ saTopBindsBinds binds }; #endif - endPass dflags "Strictness analysis" Opt_D_dump_stranal - binds_w_strictness + return binds_w_strictness } \end{code} @@ -445,9 +442,9 @@ tick_demanded var (tot, demanded) else demanded) pp_stats (SaStats tlam dlam tc dc tlet dlet) - = hcat [ptext SLIT("Lambda vars: "), int (iBox dlam), char '/', int (iBox tlam), - ptext SLIT("; Case vars: "), int (iBox dc), char '/', int (iBox tc), - ptext SLIT("; Let vars: "), int (iBox dlet), char '/', int (iBox tlet) + = hcat [ptext (sLit "Lambda vars: "), int (iBox dlam), char '/', int (iBox tlam), + ptext (sLit "; Case vars: "), int (iBox dc), char '/', int (iBox tc), + ptext (sLit "; Let vars: "), int (iBox dlet), char '/', int (iBox tlet) ] #else /* OMIT_STRANAL_STATS */