X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fcmm%2FCmmZipUtil.hs;fp=compiler%2Fcmm%2FCmmZipUtil.hs;h=c414d496ebdb6d9ce24d879e88e737aa3f1bf59d;hb=4a6f2bc7c3da7e74192339502704877bfc12ccc1;hp=aa547e98afd3f9e38bb325e404b57203a952bfe3;hpb=649d5ed52989f429d10283940793a06111aa8468;p=ghc-hetmet.git diff --git a/compiler/cmm/CmmZipUtil.hs b/compiler/cmm/CmmZipUtil.hs index aa547e9..c414d49 100644 --- a/compiler/cmm/CmmZipUtil.hs +++ b/compiler/cmm/CmmZipUtil.hs @@ -25,7 +25,7 @@ zipPreds g = foldl add emptyBlockEnv (postorder_dfs g) givesUniquePredecessorTo :: LastNode l => LGraph m l -> BlockId -> Bool givesUniquePredecessorTo g = \id -> elemBlockSet id singlePreds - -- | accumulates a pair of sets: the set of all blocks containing a single + -- accumulates a pair of sets: the set of all blocks containing a single -- predecessor, and the set of all blocks containing at least two predecessors where (singlePreds, _) = fold_blocks add (emptyBlockSet, emptyBlockSet) g add b (single, multi) = foldl add_pred (single, multi) (succs b)