diff options
author | Alexander Vershilov <alexander.vershilov@gmail.com> | 2015-02-05 17:43:32 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-02-05 17:43:32 -0600 |
commit | 73f976c47f00060baaeead9e0331ab265a84251c (patch) | |
tree | 4f0d2a8e577627a8f3962f7895a68e839603e16e /compiler/vectorise/Vectorise/Monad/Base.hs | |
parent | 7cf87fc6928f0252d9f61719e2344e6c69237079 (diff) | |
download | haskell-73f976c47f00060baaeead9e0331ab265a84251c.tar.gz |
Make -ddump-splices output to stdout (fixes #8796)
Summary:
Fixes debug output so all info messages will use
stdout. Fixes #8796.
Make -ddump-splices output to stdout (fixes #8796)
Make -dverbose-core2core use stdout (fixes #8796)
Reviewers: simonpj, austin
Reviewed By: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D627
GHC Trac Issues: #8796
Diffstat (limited to 'compiler/vectorise/Vectorise/Monad/Base.hs')
-rw-r--r-- | compiler/vectorise/Vectorise/Monad/Base.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/vectorise/Vectorise/Monad/Base.hs b/compiler/vectorise/Vectorise/Monad/Base.hs index 3cb6adb7a6..a3089e3e62 100644 --- a/compiler/vectorise/Vectorise/Monad/Base.hs +++ b/compiler/vectorise/Vectorise/Monad/Base.hs @@ -117,7 +117,7 @@ emitVt :: String -> SDoc -> VM () emitVt herald doc = liftDs $ do dflags <- getDynFlags - liftIO . printInfoForUser dflags alwaysQualify $ + liftIO . printOutputForUser dflags alwaysQualify $ hang (text herald) 2 doc -- |Output a trace message if -ddump-vt-trace is active. @@ -144,7 +144,7 @@ dumpVt :: String -> SDoc -> VM () dumpVt header doc = do { unqual <- liftDs mkPrintUnqualifiedDs ; dflags <- liftDs getDynFlags - ; liftIO $ printInfoForUser dflags unqual (mkDumpDoc header doc) + ; liftIO $ printOutputForUser dflags unqual (mkDumpDoc header doc) } |