From: Simon Peyton Jones Date: Wed, 20 Apr 2011 16:18:45 +0000 (+0100) Subject: Dont print "Constraint solver steps = n" if -dno-debug-output is on X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fa7b383da0665fbb9c4a102507b16b02d1b3b77b;p=ghc-hetmet.git Dont print "Constraint solver steps = n" if -dno-debug-output is on --- diff --git a/compiler/typecheck/TcSMonad.lhs b/compiler/typecheck/TcSMonad.lhs index cbf9330..647f22f 100644 --- a/compiler/typecheck/TcSMonad.lhs +++ b/compiler/typecheck/TcSMonad.lhs @@ -528,7 +528,8 @@ runTcS context untouch tcs #ifdef DEBUG ; count <- TcM.readTcRef step_count ; when (count > 0) $ - TcM.dumpTcRn (ptext (sLit "Constraint solver steps =") <+> int count <+> ppr context) + TcM.debugDumpTcRn (ptext (sLit "Constraint solver steps =") + <+> int count <+> ppr context) #endif -- And return ; ev_binds <- TcM.readTcRef evb_ref