X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FcprAnalysis%2FCprAnalyse.lhs;h=cbc28442ea2faf5dc132170e6c17c7a95a87520c;hb=1a03162e0239a336d297383107a68d06814e8924;hp=88c9f2aab31d1acefea840671e60615ff56cd703;hpb=f6cd95ff9a2bddbd78682dcd9287aec7d152cc13;p=ghc-hetmet.git diff --git a/ghc/compiler/cprAnalysis/CprAnalyse.lhs b/ghc/compiler/cprAnalysis/CprAnalyse.lhs index 88c9f2a..cbc2844 100644 --- a/ghc/compiler/cprAnalysis/CprAnalyse.lhs +++ b/ghc/compiler/cprAnalysis/CprAnalyse.lhs @@ -2,6 +2,11 @@ constructed product result} \begin{code} +#ifndef OLD_STRICTNESS +module CprAnalyse ( ) where + +#else + module CprAnalyse ( cprAnalyse ) where #include "HsVersions.h" @@ -131,11 +136,6 @@ ids decorated with their CprInfo pragmas. \begin{code} cprAnalyse :: DynFlags -> [CoreBind] -> IO [CoreBind] -#ifndef DEBUG --- Omit unless DEBUG is on -cprAnalyse dflags binds = return binds - -#else cprAnalyse dflags binds = do { showPass dflags "Constructed Product analysis" ; @@ -311,5 +311,5 @@ getCprAbsVal v = case idCprInfo v of arity = idArity v -- Imported (non-nullary) constructors will have the CPR property -- in their IdInfo, so no need to look at their unfolding -#endif /* DEBUG */ +#endif /* OLD_STRICTNESS */ \end{code}