diff options
Diffstat (limited to 'compiler/nativeGen/RegAlloc/Graph/Main.hs')
-rw-r--r-- | compiler/nativeGen/RegAlloc/Graph/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nativeGen/RegAlloc/Graph/Main.hs b/compiler/nativeGen/RegAlloc/Graph/Main.hs index df97de1c62..e756068ca1 100644 --- a/compiler/nativeGen/RegAlloc/Graph/Main.hs +++ b/compiler/nativeGen/RegAlloc/Graph/Main.hs @@ -310,7 +310,7 @@ buildGraph code -- Add the reg-reg conflicts to the graph. let conflictBag = unionManyBags conflictList let graph_conflict - = foldrBag graphAddConflictSet Color.initGraph conflictBag + = foldr graphAddConflictSet Color.initGraph conflictBag -- Add the coalescences edges to the graph. let moveBag @@ -318,7 +318,7 @@ buildGraph code (unionManyBags moveList) let graph_coalesce - = foldrBag graphAddCoalesce graph_conflict moveBag + = foldr graphAddCoalesce graph_conflict moveBag return graph_coalesce |