From 2151d685e4f1ab43fc5ac342f76b5bd2a50c73d3 Mon Sep 17 00:00:00 2001 From: simonpj Date: Fri, 2 Apr 2004 11:56:37 +0000 Subject: [PATCH] [project @ 2004-04-02 11:56:37 by simonpj] Comments --- ghc/compiler/simplCore/SimplCore.lhs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc/compiler/simplCore/SimplCore.lhs b/ghc/compiler/simplCore/SimplCore.lhs index 541f38a..eb354ae 100644 --- a/ghc/compiler/simplCore/SimplCore.lhs +++ b/ghc/compiler/simplCore/SimplCore.lhs @@ -257,6 +257,10 @@ updateBinders :: IdSet -- Locally defined ids with their Rules attached -- (the occurrence analyser knows about rules attached to Ids) -- - It makes sure that, when we apply a rule, the free vars -- of the RHS are more likely to be in scope +-- - The imported rules are carried in the in-scope set +-- which is extended on each iteration by the new wave of +-- local binders; any rules which aren't on the binding will +-- thereby get dropped updateBinders rule_ids binds = map update_bndrs binds -- 1.7.10.4