From: Norman Ramsey Date: Sat, 15 Sep 2007 20:16:51 +0000 (+0000) Subject: changes needed to get map_blocks to actually compile :-( X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=78a980177f263e5c59a7a71e844c32ee5bf735a7 changes needed to get map_blocks to actually compile :-( --- diff --git a/compiler/cmm/ZipCfg.hs b/compiler/cmm/ZipCfg.hs index 75f3b79..be5f97c 100644 --- a/compiler/cmm/ZipCfg.hs +++ b/compiler/cmm/ZipCfg.hs @@ -13,7 +13,7 @@ module ZipCfg , blockId, zip, unzip, last, goto_end, zipht, tailOfLast , splice_tail, splice_head, splice_head_only', splice_head' , of_block_list, to_block_list - , map_nodes + , map_blocks, map_nodes , postorder_dfs, postorder_dfs_from, postorder_dfs_from_except , fold_layout , fold_blocks @@ -266,7 +266,7 @@ fold_blocks :: (Block m l -> a -> a) -> a -> LGraph m l -> a map_nodes :: (BlockId -> BlockId) -> (m -> m') -> (l -> l') -> LGraph m l -> LGraph m' l' -- mapping includes the entry id! -map_blocks :: (Block m l -> Block m' l') -> LGraph m' l' -> LGraph m' l' +map_blocks :: (Block m l -> Block m' l') -> LGraph m l -> LGraph m' l' -- | These translation functions are speculative. I hope eventually -- they will be used in the native-code back ends ---NR