OSDN Git Service

Avoid using a live std::multimap iterator while editing the map. It looks like
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 5 Aug 2010 18:12:19 +0000 (18:12 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Thu, 5 Aug 2010 18:12:19 +0000 (18:12 +0000)
commita330d4c3ea4037a67e766f11d0010e681f3edf68
tree347de0e400a20b733db9eda9f7b1dac39a93a909
parenta34c885d51b1ad257ff9432f4c3dbac0ecea02d6
Avoid using a live std::multimap iterator while editing the map. It looks like
we sometimes compare singular iterators, reported by ENABLE_EXPENSIVE_CHECKS.
This fixes PR7825.

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