misched: Recompute priority queue when DFSResults are updated.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 29 Nov 2012 14:36:26 +0000 (14:36 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 29 Nov 2012 14:36:26 +0000 (14:36 +0000)
commitaa598b3be67ae5cb7b4d95ae7003135bee622873
tree69da6057cc628e6cd7d69d4bea5f277189def6e1
parent7ad7e830316df2c12cef9e58c3d10d2abeda4e08
misched: Recompute priority queue when DFSResults are updated.

This was found by MSVC10's STL debug mode on a test from the test suite. Sadly
std::is_heap isn't standard so there is no way to assert this without writing
our own heap verify, which looks like overkill to me.

llvm-svn: 168885
llvm/lib/CodeGen/MachineScheduler.cpp