Switch the MachineOperand accessors back to the short names like
[oota-llvm.git] / lib / CodeGen / UnreachableBlockElim.cpp
index fff9f190a63ac3b8589a67873880fada174e5698..3c3fca51b66f27931e640b39b7f0f87d2572a16a 100644 (file)
@@ -127,7 +127,7 @@ bool UnreachableMachineBlockElim::runOnMachineFunction(MachineFunction &F) {
         while (start != succ->end() &&
                start->getOpcode() == TargetInstrInfo::PHI) {
           for (unsigned i = start->getNumOperands() - 1; i >= 2; i-=2)
-            if (start->getOperand(i).isMachineBasicBlock() &&
+            if (start->getOperand(i).isMBB() &&
                 start->getOperand(i).getMBB() == BB) {
               start->RemoveOperand(i);
               start->RemoveOperand(i-1);