X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FRegAllocColor.hs;h=e2e002af3516d811e076462543a9fb15081ef062;hb=97ca9e73c862b8d7db581d2f63230c04524c797c;hp=21d7ed1d758d81db8cd728ca2f3e4943e0be5958;hpb=fff4dee0483eda0b675057f8259a161ff16467f4;p=ghc-hetmet.git diff --git a/compiler/nativeGen/RegAllocColor.hs b/compiler/nativeGen/RegAllocColor.hs index 21d7ed1..e2e002a 100644 --- a/compiler/nativeGen/RegAllocColor.hs +++ b/compiler/nativeGen/RegAllocColor.hs @@ -1,8 +1,8 @@ +{-# OPTIONS -fno-warn-missing-signatures #-} -- | Graph coloring register allocator. -- -- TODO: The colors in graphviz graphs for x86_64 and ppc could be nicer. -- -{-# OPTIONS -fno-warn-missing-signatures #-} module RegAllocColor ( regAlloc, @@ -24,7 +24,7 @@ import PprMach import UniqSupply import UniqSet -import UniqFM +import LazyUniqFM import Bag import Outputable import DynFlags @@ -60,7 +60,7 @@ regAlloc dflags regsFree slotsFree code return ( code_final , reverse debug_codeGraphs ) -regAlloc_spin dflags (spinCount :: Int) triv regsFree slotsFree debug_codeGraphs code +regAlloc_spin dflags spinCount triv regsFree slotsFree debug_codeGraphs code = do -- if any of these dump flags are turned on we want to hang on to -- intermediate structures in the allocator - otherwise tell the