projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d888cbc
)
[project @ 2001-07-24 09:08:47 by simonpj]
author
simonpj
<unknown>
Tue, 24 Jul 2001 09:08:47 +0000
(09:08 +0000)
committer
simonpj
<unknown>
Tue, 24 Jul 2001 09:08:47 +0000
(09:08 +0000)
Add missing cases to newDemand
ghc/compiler/basicTypes/IdInfo.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/IdInfo.lhs
b/ghc/compiler/basicTypes/IdInfo.lhs
index
b130445
..
8e8d3f8
100644
(file)
--- a/
ghc/compiler/basicTypes/IdInfo.lhs
+++ b/
ghc/compiler/basicTypes/IdInfo.lhs
@@
-160,6
+160,8
@@
newDemand WwEnum = Eval
oldDemand :: NewDemand.Demand -> Demand.Demand
oldDemand Abs = WwLazy True
oldDemand Lazy = WwLazy False
+oldDemand Bot = WwStrict
+oldDemand Err = WwStrict
oldDemand Eval = WwStrict
oldDemand (Seq _ _ ds) = WwUnpack True (map oldDemand ds)
oldDemand (Call _) = WwStrict