projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b187c22
)
Dont print "Constraint solver steps = n" if -dno-debug-output is on
author
Simon Peyton Jones
<simonpj@microsoft.com>
Wed, 20 Apr 2011 16:18:45 +0000
(17:18 +0100)
committer
Simon Peyton Jones
<simonpj@microsoft.com>
Wed, 20 Apr 2011 16:18:45 +0000
(17:18 +0100)
compiler/typecheck/TcSMonad.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcSMonad.lhs
b/compiler/typecheck/TcSMonad.lhs
index
cbf9330
..
647f22f
100644
(file)
--- 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