summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-17 14:38:59 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-17 14:38:59 +0000
commit714f595c98302ea5fcd5fba3badd360e50c6394e (patch)
treea96ef0e5a61067984ca59f0f57b49ec406a3872e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4901f0d2a25da6b678c3d6eb25ea73e0bdb7a229 (diff)
Use standard pattern for iterate+erase.
Increment the MBB iterator at the top of the loop to properly handle the current (and previous) instructions getting erased. This fixes PR13625. llvm-svn: 162099
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions