Use a worklist to prevent the iterator from becoming invalidated because of the ...
authorBill Wendling <isanbard@gmail.com>
Wed, 26 Oct 2011 07:16:18 +0000 (07:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 26 Oct 2011 07:16:18 +0000 (07:16 +0000)
commitde39d86f26c5fa244a11d79988f26f52accabaf0
treebd9c3f3a3385571788d2d5695323a186417b8bd5
parent7c38de2e9fa7b732db5c17fb18867ae1c1eed2e2
Use a worklist to prevent the iterator from becoming invalidated because of the 'removeSuccessor' call. Noticed in a Release+Asserts+Check buildbot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143018 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp