Replace printDump with a new Severity
authorIan Lynagh <igloo@earth.li>
Tue, 29 May 2012 00:46:07 +0000 (01:46 +0100)
committerIan Lynagh <igloo@earth.li>
Tue, 29 May 2012 00:46:07 +0000 (01:46 +0100)
commit78252479dfa2e3ef11d973fdec9e29b5d3810930
tree92e1a59a912e21ccd0fd6583785b1e4d264a3c3c
parentcd70047385306f4853a7afdfe1e14eda66cab1d4
Replace printDump with a new Severity

We now use log_action with severity SevDump, rather than calling
printDump. This means that what happens to dumped info is now under
the control of the GHC API user, rather than always going to stdout.
14 files changed:
compiler/deSugar/Coverage.lhs
compiler/ghci/Linker.lhs
compiler/iface/LoadIface.lhs
compiler/main/CodeOutput.lhs
compiler/main/DynFlags.hs
compiler/main/ErrUtils.lhs
compiler/main/ErrUtils.lhs-boot
compiler/main/HscMain.hs
compiler/main/TidyPgm.lhs
compiler/simplCore/CoreMonad.lhs
compiler/simplCore/SimplCore.lhs
compiler/simplStg/SimplStg.lhs
compiler/utils/Outputable.lhs
ghc/InteractiveUI.hs