From d98420629d4789eb793670cbb2c4bcca9f02f919 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Mon, 26 May 1997 04:46:42 +0000
Subject: [PATCH] [project @ 1997-05-26 04:46:42 by sof] Updated to use new
 addDeforestInfo interface

---
 ghc/compiler/deforest/Cyclic.lhs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ghc/compiler/deforest/Cyclic.lhs b/ghc/compiler/deforest/Cyclic.lhs
index ed61365eb47f..68a573c878ba 100644
--- a/ghc/compiler/deforest/Cyclic.lhs
+++ b/ghc/compiler/deforest/Cyclic.lhs
@@ -18,7 +18,7 @@
 >			)
 > import Digraph	( dfs )
 > import Id		( idType, updateIdType,
-> 			  getIdInfo, replaceIdInfo, eqId, Id
+> 			  addIdDeforestInfo, eqId, Id
 >			)
 > import IdInfo
 > import Outputable
@@ -144,8 +144,7 @@ type of the expression itself.
 >
 >		newDefId type_of_f	`thenUs` \f' ->
 >		let
-> 		       f = replaceIdInfo f'
->		       		(addDeforestInfo (getIdInfo f') DoDeforest)
+> 		       f = addIdDeforestInfo f' DoDeforest
 >		in
 >		loop ((f,e,val_args,ty_args):ls) e1
 >					`thenUs` \res@(ls',bs,bls,e') ->
-- 
GitLab