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:
d06c631
)
[project @ 1997-05-26 04:45:22 by sof]
author
sof
<unknown>
Mon, 26 May 1997 04:45:22 +0000
(
04:45
+0000)
committer
sof
<unknown>
Mon, 26 May 1997 04:45:22 +0000
(
04:45
+0000)
Updated to use new addIdDeforesInfo interface
ghc/compiler/deforest/TreelessForm.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/deforest/TreelessForm.lhs
b/ghc/compiler/deforest/TreelessForm.lhs
index
bb01baa
..
87359e6
100644
(file)
--- a/
ghc/compiler/deforest/TreelessForm.lhs
+++ b/
ghc/compiler/deforest/TreelessForm.lhs
@@
-136,7
+136,7
@@
dictionary deconstruction.
> (vs,es) = unzip bs
> vs' = map mkDeforestable vs
> s = zip vs (map (Var . DefArgVar) vs')
-> mkDeforestable v = replaceIdInfo v (addDeforestInfo (getIdInfo v) DoDeforest)
+> mkDeforestable v = addIdDeforestInfo v DoDeforest
> convAtom :: DefAtom -> UniqSM DefAtom
>