Replace all weight-based interfaces in MBB with probability-based interfaces, and...
[oota-llvm.git] / lib / CodeGen / MIRPrinter.cpp
index 0be7807064fb411de0303fa85bcaea5bc743dfce..175cb0d51437aa84b4cec13c36ad6245d607384e 100644 (file)
@@ -461,8 +461,8 @@ void MIPrinter::print(const MachineBasicBlock &MBB) {
       if (I != MBB.succ_begin())
         OS << ", ";
       printMBBReference(**I);
-      if (MBB.hasSuccessorWeights())
-        OS << '(' << MBB.getSuccWeight(I) << ')';
+      if (MBB.hasSuccessorProbabilities())
+        OS << '(' << MBB.getSuccProbability(I) << ')';
     }
     OS << "\n";
     HasLineAttributes = true;