Use iterator prefix increment. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-05 16:46:10 +00:00
parent 7ad2583613
commit 76166a1ac7

View File

@ -763,7 +763,7 @@ struct InstructionMapper {
std::vector<unsigned> UnsignedVecForMBB;
std::vector<MachineBasicBlock::iterator> InstrListForMBB;
for (MachineBasicBlock::iterator Et = MBB.end(); It != Et; It++) {
for (MachineBasicBlock::iterator Et = MBB.end(); It != Et; ++It) {
// Keep track of where this instruction is in the module.
switch (TII.getOutliningType(It, Flags)) {
case InstrType::Illegal: