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)
commit5175fd990c898a49708d60b84e7838bead48f2cd
tree155df29ee31ccc3aeac82e9cdf4fb5fd6e90fe6c
parent6d988b423acf37ed4d0b50b2678a18f65ab1a207
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineScheduler.cpp