Fix a typo in MachineInstr::unbundleFromSucc() method.
[oota-llvm.git] / lib / CodeGen / MachineInstr.cpp
index 29d8866b8d623158a9e45c23cb48b7fbef4247ab..a4d9813e507e771068c39cbbe185fc4930a109ab 100644 (file)
@@ -897,7 +897,7 @@ void MachineInstr::unbundleFromSucc() {
   assert(isBundledWithSucc() && "MI isn't bundled with its successor");
   clearFlag(BundledSucc);
   MachineBasicBlock::instr_iterator Succ = this;
-  --Succ;
+  ++Succ;
   assert(Succ->isBundledWithPred() && "Inconsistent bundle flags");
   Succ->clearFlag(BundledPred);
 }