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:
6a05ec5
)
Show program size in the simplifier-bailing-out message
author
simonpj@microsoft.com
<unknown>
Tue, 16 Oct 2007 12:44:50 +0000
(12:44 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 16 Oct 2007 12:44:50 +0000
(12:44 +0000)
compiler/simplCore/SimplCore.lhs
patch
|
blob
|
history
diff --git
a/compiler/simplCore/SimplCore.lhs
b/compiler/simplCore/SimplCore.lhs
index
701f0c2
..
64c4c92
100644
(file)
--- a/
compiler/simplCore/SimplCore.lhs
+++ b/
compiler/simplCore/SimplCore.lhs
@@
-429,7
+429,7
@@
simplifyPgm mode switches hsc_env us imp_rule_base guts
if max_iterations > 2 then
hPutStr stderr ("NOTE: Simplifier still going after " ++
show max_iterations ++
if max_iterations > 2 then
hPutStr stderr ("NOTE: Simplifier still going after " ++
show max_iterations ++
- " iterations; bailing out.\n")
+ " iterations; bailing out. Size = " ++ show (coreBindsSize binds) )
else
return ();
#endif
else
return ();
#endif