summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonmar <unknown>2001-07-26 09:54:39 +0000
committersimonmar <unknown>2001-07-26 09:54:39 +0000
commitd8f550509fe8eaff29424e19250c0187d6e9c3b7 (patch)
tree0cd5222796b138d5b1d1703b13be52295ae63b2c
parent780454451b96cfa5727287469b0daf459170f2f2 (diff)
downloadhaskell-d8f550509fe8eaff29424e19250c0187d6e9c3b7.tar.gz
[project @ 2001-07-26 09:54:39 by simonmar]
Make the panic case in evalAbsence into another "TELL SIMON" trace.
-rw-r--r--ghc/compiler/stranal/SaAbsInt.lhs4
1 files changed, 3 insertions, 1 deletions
diff --git a/ghc/compiler/stranal/SaAbsInt.lhs b/ghc/compiler/stranal/SaAbsInt.lhs
index 8cab167cd4..14bb2df5d8 100644
--- a/ghc/compiler/stranal/SaAbsInt.lhs
+++ b/ghc/compiler/stranal/SaAbsInt.lhs
@@ -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