X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FErrUtils.lhs;fp=ghc%2Fcompiler%2Fmain%2FErrUtils.lhs;h=e53e40cab02cd9464c2be54901d1d366c9d0ceb1;hb=bdfa0107143179ddd8e539306442eefeb1913d48;hp=9e43b3fba34b5feb2422e0bc0f608a35da3fe51e;hpb=43c2b68138397eb08aa386e2818b6cc17e94fd1e;p=ghc-hetmet.git diff --git a/ghc/compiler/main/ErrUtils.lhs b/ghc/compiler/main/ErrUtils.lhs index 9e43b3f..e53e40c 100644 --- a/ghc/compiler/main/ErrUtils.lhs +++ b/ghc/compiler/main/ErrUtils.lhs @@ -219,9 +219,9 @@ compilationPassMsg :: DynFlags -> String -> IO () compilationPassMsg dflags msg = ifVerbose dflags 2 (putMsg msg) -debugTraceMsg :: DynFlags -> String -> IO () -debugTraceMsg dflags msg - = ifVerbose dflags 2 (putMsg msg) +debugTraceMsg :: DynFlags -> Int -> String -> IO () +debugTraceMsg dflags val msg + = ifVerbose dflags val (putMsg msg) GLOBAL_VAR(msgHandler, hPutStrLn stderr, (String -> IO ()))