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:
ee4d8e9
)
Tweak strictness
author
Ian Lynagh
<igloo@earth.li>
Sat, 2 Feb 2008 21:35:42 +0000
(21:35 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 2 Feb 2008 21:35:42 +0000
(21:35 +0000)
compiler/utils/UniqFM.lhs
patch
|
blob
|
history
diff --git
a/compiler/utils/UniqFM.lhs
b/compiler/utils/UniqFM.lhs
index
59158f3
..
de02227
100644
(file)
--- a/
compiler/utils/UniqFM.lhs
+++ b/
compiler/utils/UniqFM.lhs
@@
-698,7
+698,7
@@
insert_ele f (LeafUFM j old) i new
(indexToRoot j))
(mkLeafUFM i new)
(mkLeafUFM j old)
- | j ==# i = mkLeafUFM j (f old new)
+ | j ==# i = mkLeafUFM j $! f old new
| otherwise =
mkLLNodeUFM (getCommonNodeUFMData
(indexToRoot i)