summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorBen Lippmeier <benl@ouroborus.net>2010-12-08 06:30:37 +0000
committerBen Lippmeier <benl@ouroborus.net>2010-12-08 06:30:37 +0000
commitaa1c7df20292d9af0b757d71870ae6890a1f9030 (patch)
tree755c4eb9f78d9dd3a7f62a5d3a1642f65b2a7678 /compiler
parenteb2d8fe3f17b2c2bd30b3bf2d1451b367152f036 (diff)
downloadhaskell-aa1c7df20292d9af0b757d71870ae6890a1f9030.tar.gz
Suppress more info with -dsuppress-idinfo
Diffstat (limited to 'compiler')
-rw-r--r--compiler/coreSyn/PprCore.lhs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/coreSyn/PprCore.lhs b/compiler/coreSyn/PprCore.lhs
index 104bf811b8..b87d381567 100644
--- a/compiler/coreSyn/PprCore.lhs
+++ b/compiler/coreSyn/PprCore.lhs
@@ -303,6 +303,8 @@ pprIdBndr id = ppr id <+> pprIdBndrInfo (idInfo id)
pprIdBndrInfo :: IdInfo -> SDoc
pprIdBndrInfo info
+ | opt_SuppressIdInfo = empty
+ | otherwise
= megaSeqIdInfo info `seq` doc -- The seq is useful for poking on black holes
where
prag_info = inlinePragInfo info