diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-19 23:25:57 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-19 23:25:57 +0000 |
commit | 9f9559e807339ef728e372ddd358f3508bf15fce (patch) | |
tree | 81c54a74ed5efe5317b924608007ffabbebbbcc6 /llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp | |
parent | 6372a0bd51aca8762014c334926b9b13ab17e7b6 (diff) | |
download | bcm5719-llvm-9f9559e807339ef728e372ddd358f3508bf15fce.tar.gz bcm5719-llvm-9f9559e807339ef728e372ddd358f3508bf15fce.zip |
ARM: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250759
Diffstat (limited to 'llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp index 68736bc1dec..bf0498dfda6 100644 --- a/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp +++ b/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp @@ -256,8 +256,8 @@ bool Thumb2ITBlockPass::InsertITInstructions(MachineBasicBlock &MBB) { LastITMI->findRegisterUseOperand(ARM::ITSTATE)->setIsKill(); // Finalize the bundle. - MachineBasicBlock::instr_iterator LI = LastITMI; - finalizeBundle(MBB, InsertPos.getInstrIterator(), std::next(LI)); + finalizeBundle(MBB, InsertPos.getInstrIterator(), + ++LastITMI->getIterator()); Modified = true; ++NumITs; |