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:
8e3f446
)
Add a type signature to help GHC 6.4
author
Ian Lynagh
<igloo@earth.li>
Tue, 13 May 2008 20:06:41 +0000
(20:06 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Tue, 13 May 2008 20:06:41 +0000
(20:06 +0000)
Needed in lieu of -XRelaxedPolyRec
compiler/cmm/ZipDataflow.hs
patch
|
blob
|
history
diff --git
a/compiler/cmm/ZipDataflow.hs
b/compiler/cmm/ZipDataflow.hs
index
f09368d
..
1cb222f
100644
(file)
--- a/
compiler/cmm/ZipDataflow.hs
+++ b/
compiler/cmm/ZipDataflow.hs
@@
-448,6
+448,9
@@
forward_rew check_maybe return_graph = forw
; a <- finish
; return (a, g, fuel)
}
+ inner_rew :: DFM a b
+ -> a -> Graph m l -> Fuel
+ -> DFM a (b, Graph m l, Fuel)
inner_rew = case depth of RewriteShallow -> don't_rewrite
RewriteDeep -> rewrite emptyBlockEnv
fixed_pt_and_fuel =