commit | 26f67b5a279f47178b8ba4b507da3d75d8b124a5 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Fri Feb 27 02:19:11 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Fri Feb 27 02:19:11 2015 +0000 |
tree | f27e4301ec601e1d52b31f0e1da5329165a1bece | |
parent | d51be017f089137d356219d08f563d7961c664ce [diff] |
Fix a use-iterator-after-invalidate error AnalysisResult::getResultImpl reuses an iterator into a DenseMap after inserting elements into it. This change adds code to recompute the iterator before the second use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230718 91177308-0d34-0410-b5e6-96231b3b80d8