diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-17 14:38:59 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-17 14:38:59 +0000 |
| commit | 714f595c98302ea5fcd5fba3badd360e50c6394e (patch) | |
| tree | a96ef0e5a61067984ca59f0f57b49ec406a3872e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 4901f0d2a25da6b678c3d6eb25ea73e0bdb7a229 (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
