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:
92fbaba
)
[project @ 2001-08-23 07:52:32 by simonpj]
author
simonpj
<unknown>
Thu, 23 Aug 2001 07:52:32 +0000
(07:52 +0000)
committer
simonpj
<unknown>
Thu, 23 Aug 2001 07:52:32 +0000
(07:52 +0000)
Use the unpack strategy!
ghc/compiler/stranal/DmdAnal.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/stranal/DmdAnal.lhs
b/ghc/compiler/stranal/DmdAnal.lhs
index
7b673b3
..
2bae197
100644
(file)
--- a/
ghc/compiler/stranal/DmdAnal.lhs
+++ b/
ghc/compiler/stranal/DmdAnal.lhs
@@
-343,7
+343,7
@@
mkSigTy :: Id -> Arity -> CoreExpr -> DmdType -> (DmdEnv, StrictSig)
mkSigTy id arity rhs (DmdType fv dmds res)
= (lazy_fv, mkStrictSig id arity dmd_ty)
where
- dmd_ty = DmdType strict_fv lazified_dmds res'
+ dmd_ty = DmdType strict_fv final_dmds res'
lazy_fv = filterUFM (not . isStrictDmd) fv
strict_fv = filterUFM isStrictDmd fv