commit | de39d86f26c5fa244a11d79988f26f52accabaf0 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Wed Oct 26 07:16:18 2011 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Wed Oct 26 07:16:18 2011 +0000 |
tree | bd9c3f3a3385571788d2d5695323a186417b8bd5 | |
parent | 7c38de2e9fa7b732db5c17fb18867ae1c1eed2e2 [diff] |
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