findAnnotations, deserializeAnnotations, addAnnotation,
-- ** Debug output
- endPass, endPassIf,
+ endPass, endPassIf, endIteration,
-- ** Screen output
putMsg, putMsgS, errorMsg, errorMsgS,
endPassIf :: Bool -> DynFlags -> String -> DynFlag -> [CoreBind] -> [CoreRule] -> IO ()
endPassIf cond = dumpAndLint (Err.dumpIf_core cond)
+-- Same as endPass but doesn't dump Core even with -dverbose-core2core
+endIteration :: DynFlags -> String -> DynFlag -> [CoreBind] -> [CoreRule] -> IO ()
+endIteration = dumpAndLint Err.dumpIfSet_dyn
+
dumpAndLint :: (DynFlags -> DynFlag -> String -> SDoc -> IO ())
-> DynFlags -> String -> DynFlag
-> [CoreBind] -> [CoreRule] -> IO ()