Add -dasm-lint
authorBen.Lippmeier@anu.edu.au <unknown>
Mon, 17 Sep 2007 11:30:24 +0000 (11:30 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Mon, 17 Sep 2007 11:30:24 +0000 (11:30 +0000)
commit1116b8749571c660d446258481e4e74798bbb864
tree2825397cfbeeaf3311a9ee9e0b30b07ae48fa647
parent72db4d050b1f9d9058d1427eaad9833be03a5537
Add -dasm-lint

When -dasm-lint is turned on the register conflict graph is checked for
internal consistency after each build/color pass. Make sure that all
edges point to valid nodes, that nodes are colored differently to their
neighbours, and if the graph is supposed to be colored, that all nodes
actually have a color.
compiler/main/DynFlags.hs
compiler/nativeGen/RegAllocColor.hs
compiler/utils/GraphOps.hs