From: sof Date: Mon, 26 May 1997 04:46:42 +0000 (+0000) Subject: [project @ 1997-05-26 04:46:42 by sof] X-Git-Tag: Approximately_1000_patches_recorded~488 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d98420629d4789eb793670cbb2c4bcca9f02f919;p=ghc-hetmet.git [project @ 1997-05-26 04:46:42 by sof] Updated to use new addDeforestInfo interface --- diff --git a/ghc/compiler/deforest/Cyclic.lhs b/ghc/compiler/deforest/Cyclic.lhs index ed61365..68a573c 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') ->