X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FGraphBase.hs;h=c4e9eb353116c55f35bc374e3df9c7fae5f2be26;hb=16dc208aaad7aadaea970e47b8055d7d7f8781e5;hp=5b0971d3be8c1d8dbcb44379e97ab7b148707665;hpb=7fc749a43b4b6b85d234fa95d4928648259584f4;p=ghc-hetmet.git diff --git a/compiler/nativeGen/GraphBase.hs b/compiler/nativeGen/GraphBase.hs index 5b0971d..c4e9eb3 100644 --- a/compiler/nativeGen/GraphBase.hs +++ b/compiler/nativeGen/GraphBase.hs @@ -1,11 +1,5 @@ -- | Types for the general graph colorer. -{-# OPTIONS -w #-} --- The above warning supression flag is a temporary kludge. --- While working on this module you are encouraged to remove it and fix --- any warnings in the module. See --- http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings --- for details module GraphBase ( Triv, @@ -52,6 +46,7 @@ data Graph k cls color graphMap :: UniqFM (Node k cls color) } -- | An empty graph. +initGraph :: Graph k cls color initGraph = Graph { graphMap = emptyUFM }