ADDS{D|S}rr_Int and MULS{D|S}rr_Int are not commutable. The users of these intrinsics...
[oota-llvm.git] / lib / CodeGen / MachineBasicBlock.cpp
index bac0a6cc7196d296298f8bc851d9e4da56a29db5..1d68d7cd2b9dc541e2ad294da7d323c715f6f6a8 100644 (file)
@@ -221,7 +221,7 @@ MachineBasicBlock::succ_iterator
 MachineBasicBlock::removeSuccessor(succ_iterator I) {
   assert(I != Successors.end() && "Not a current successor!");
   (*I)->removePredecessor(this);
-  return(Successors.erase(I));
+  return Successors.erase(I);
 }
 
 void MachineBasicBlock::addPredecessor(MachineBasicBlock *pred) {
@@ -290,7 +290,7 @@ void MachineBasicBlock::ReplaceUsesOfBlockWith(MachineBasicBlock *Old,
     // Scan the operands of this machine instruction, replacing any uses of Old
     // with New.
     for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i)
-      if (I->getOperand(i).isMachineBasicBlock() &&
+      if (I->getOperand(i).isMBB() &&
           I->getOperand(i).getMBB() == Old)
         I->getOperand(i).setMBB(New);
   }