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:
04dee69
)
[project @ 2001-08-27 15:16:30 by apt]
author
apt
<unknown>
Mon, 27 Aug 2001 15:16:30 +0000
(15:16 +0000)
committer
apt
<unknown>
Mon, 27 Aug 2001 15:16:30 +0000
(15:16 +0000)
shut up shortMeOut traces
ghc/compiler/simplCore/OccurAnal.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/simplCore/OccurAnal.lhs
b/ghc/compiler/simplCore/OccurAnal.lhs
index
48da14b
..
3a57ab2
100644
(file)
--- a/
ghc/compiler/simplCore/OccurAnal.lhs
+++ b/
ghc/compiler/simplCore/OccurAnal.lhs
@@
-212,7
+212,11
@@
shortMeOut ind_env exported_id local_id
if shortableIdInfo (idInfo exported_id) -- Only if its IdInfo is 'shortable'
-- (see the defn of IdInfo.shortableIdInfo)
then True
- else pprTrace "shortMeOut:" (ppr exported_id) False
+ else
+#ifdef DEBUG
+ pprTrace "shortMeOut:" (ppr exported_id)
+#endif
+ False
else
False
\end{code}