X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FsimplCore%2FOccurAnal.lhs;h=4492bd7b9f031d084a08a7cb24c2de5671fb3783;hb=f2eb50cc42d4ce9e27c2328016b1ddbc2abab04c;hp=5ed57fbe92b51d5bb9958cc60ad568d9c29b191a;hpb=fea8c9e4b1ef4973aa577f29b59d35ee12472ebb;p=ghc-hetmet.git diff --git a/compiler/simplCore/OccurAnal.lhs b/compiler/simplCore/OccurAnal.lhs index 5ed57fb..4492bd7 100644 --- a/compiler/simplCore/OccurAnal.lhs +++ b/compiler/simplCore/OccurAnal.lhs @@ -135,7 +135,7 @@ It isn't easy to do a perfect job in one blow. Consider \begin{code} occAnalBind env (Rec pairs) body_usage - = foldr (_scc_ "occAnalBind.dofinal" do_final_bind) (body_usage, []) sccs + = foldr ({-# SCC "occAnalBind.dofinal" #-} do_final_bind) (body_usage, []) sccs where analysed_pairs :: [Details] analysed_pairs = [ (bndr, rhs_usage, rhs') @@ -144,12 +144,12 @@ occAnalBind env (Rec pairs) body_usage ] sccs :: [SCC (Node Details)] - sccs = _scc_ "occAnalBind.scc" stronglyConnCompR edges + sccs = {-# SCC "occAnalBind.scc" #-} stronglyConnCompR edges ---- stuff for dependency analysis of binds ------------------------------- edges :: [Node Details] - edges = _scc_ "occAnalBind.assoc" + edges = {-# SCC "occAnalBind.assoc" #-} [ (details, idUnique id, edges_from id rhs_usage) | details@(id, rhs_usage, rhs) <- analysed_pairs ] @@ -164,7 +164,7 @@ occAnalBind env (Rec pairs) body_usage -- which has n**2 cost, and this meant that edges_from alone -- consumed 10% of total runtime! edges_from :: Id -> UsageDetails -> [Unique] - edges_from bndr rhs_usage = _scc_ "occAnalBind.edges_from" + edges_from bndr rhs_usage = {-# SCC "occAnalBind.edges_from" #-} keysUFM (addRuleUsage rhs_usage bndr) ---- Stuff to "re-constitute" bindings from dependency-analysis info ------