[project @ 2001-07-26 09:54:39 by simonmar]
authorsimonmar <unknown>
Thu, 26 Jul 2001 09:54:39 +0000 (09:54 +0000)
committersimonmar <unknown>
Thu, 26 Jul 2001 09:54:39 +0000 (09:54 +0000)
Make the panic case in evalAbsence into another "TELL SIMON" trace.

ghc/compiler/stranal/SaAbsInt.lhs

index 8cab167..14bb2df 100644 (file)
@@ -326,7 +326,9 @@ evalAbsence (WwUnpack _ demand_info) val
           | length vals /= length demand_info -> pprTrace "TELL SIMON: evalAbsence" (ppr demand_info $$ ppr val)
                                                  True
           | otherwise -> or (zipWithEqual "evalAbsence" evalAbsence demand_info vals)
-       _              -> panic "evalAbsence: other"
+       _              -> pprTrace "TELL SIMON: evalAbsence" 
+                               (ppr demand_info $$ ppr val)
+                         True
 
 evalAbsence other val = anyBot val
   -- The demand is conservative; even "Lazy" *might* evaluate the