NCG: Add sanity checking to linear allocator
authorBen.Lippmeier@anu.edu.au <unknown>
Thu, 17 Sep 2009 09:03:35 +0000 (09:03 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Thu, 17 Sep 2009 09:03:35 +0000 (09:03 +0000)
commit028c032b60567b8cd501e9d7248e4aa86088a19b
treebeab9f04257cb5fcb5c28aac1b3921546ff28100
parent85981a6fc4bb94af433b0b3655c26c5ec4dda1bd
NCG: Add sanity checking to linear allocator
If there are are unreachable basic blocks in the native code then the
linear allocator might loop. Detect this case and panic instead.
compiler/nativeGen/RegAlloc/Linear/Main.hs