move generic graph-colouring code into util
authorSimon Marlow <simonmar@microsoft.com>
Wed, 12 Sep 2007 11:41:10 +0000 (11:41 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 12 Sep 2007 11:41:10 +0000 (11:41 +0000)
commitb01110d1352de5d972d8fb63f28c244d2c1ff99b
tree504e83cf75e314bdf40035fc092d5676c36b7ad1
parent569348e87434f2a8d9e18dccac8b4a563b4eb363
move generic graph-colouring code into util
It is needed by cmm/StackColor, and hence is needed even when there is no
native code generator.
compiler/utils/GraphBase.hs [moved from compiler/nativeGen/GraphBase.hs with 100% similarity]
compiler/utils/GraphColor.hs [moved from compiler/nativeGen/GraphColor.hs with 100% similarity]
compiler/utils/GraphOps.hs [moved from compiler/nativeGen/GraphOps.hs with 100% similarity]
compiler/utils/GraphPpr.hs [moved from compiler/nativeGen/GraphPpr.hs with 100% similarity]