| commit | 714f595c98302ea5fcd5fba3badd360e50c6394e | [log] [tgz] |
|---|---|---|
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 17 14:38:59 2012 +0000 |
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri Aug 17 14:38:59 2012 +0000 |
| tree | a96ef0e5a61067984ca59f0f57b49ec406a3872e | |
| 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