Cure space leak in coloring register allocator
authorBen.Lippmeier@anu.edu.au <unknown>
Thu, 6 Sep 2007 13:15:22 +0000 (13:15 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Thu, 6 Sep 2007 13:15:22 +0000 (13:15 +0000)
commitb7f448a4ebb2b924f279bf49432f07338f41a764
treeef2acefe2a636fd12eb49009c1f1f22897751e76
parent94368126b8933a5a198bf5c59599f621087fbace
Cure space leak in coloring register allocator

We now do a deep seq on the graph after it is 'built', but before coloring.
Without this, the colorer will just force bits of it and the heap will
fill up with half evaluated pieces of graph from previous build/spill
stages and zillions of apply thunks.
compiler/nativeGen/GraphColor.hs
compiler/nativeGen/GraphOps.hs
compiler/nativeGen/RegAllocColor.hs