From ff868a84e540419ba281640cfcae306895080fcc Mon Sep 17 00:00:00 2001 From: simonpj Date: Tue, 24 Jul 2001 16:46:51 +0000 Subject: [PATCH] [project @ 2001-07-24 16:46:51 by simonpj] Print a bit more info in the dmdFix loop --- ghc/compiler/stranal/DmdAnal.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/stranal/DmdAnal.lhs b/ghc/compiler/stranal/DmdAnal.lhs index d6bdd0e..035b115 100644 --- a/ghc/compiler/stranal/DmdAnal.lhs +++ b/ghc/compiler/stranal/DmdAnal.lhs @@ -268,7 +268,8 @@ dmdFix top_lvl sigs pairs -- processing the RHSs with sigs (= sigs'), whereas pairs -- is the result of processing the RHSs with the *previous* -- iteration of sigs. - | n >= 5 = pprTrace "dmdFix" (ppr n <+> ppr pairs) (loop (n+1) sigs' pairs') + | n >= 5 = pprTrace "dmdFix" (ppr n <+> (ppr [(id,lookup sigs id, lookup sigs' id) | (id,_) <- pairs] $$ ppr pairs)) + (loop (n+1) sigs' pairs') | otherwise = {- pprTrace "dmdFixLoop" (ppr id_sigs) -} (loop (n+1) sigs' pairs') where -- Use the new signature to do the next pair -- 1.7.10.4