[project @ 2001-08-27 15:16:30 by apt]
authorapt <unknown>
Mon, 27 Aug 2001 15:16:30 +0000 (15:16 +0000)
committerapt <unknown>
Mon, 27 Aug 2001 15:16:30 +0000 (15:16 +0000)
shut up shortMeOut traces

ghc/compiler/simplCore/OccurAnal.lhs

index 48da14b..3a57ab2 100644 (file)
@@ -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}