The Big INLINE Patch: totally reorganise way that INLINE pragmas work
[ghc-hetmet.git] / compiler / stranal / StrictAnal.lhs
index 0463205..920f841 100644 (file)
@@ -29,7 +29,6 @@ import Id             ( setIdStrictness, setInlinePragma,
                          idDemandInfo, setIdDemandInfo, isBottomingId,
                          Id
                        )
-import CoreLint                ( showPass, endPass )
 import ErrUtils                ( dumpIfSet_dyn )
 import SaAbsInt
 import SaLib
@@ -95,8 +94,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 +103,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}