Update PPC readme. Remove things that are done or aren't ppc specific
[oota-llvm.git] / lib / CodeGen / MachineBasicBlock.cpp
index 6774dde9ab3755eff1f7b76578962ab05fd5f2cc..695ba13a49ddf58bc7880ebf9c76696380880e4f 100644 (file)
@@ -100,6 +100,14 @@ void MachineBasicBlock::print(std::ostream &OS) const {
     OS << "\t";
     I->print(OS, &getParent()->getTarget());
   }
+
+  // Print the successors of this block according to the CFG.
+  if (!succ_empty()) {
+    OS << "    Successors according to CFG:";
+    for (const_succ_iterator SI = succ_begin(), E = succ_end(); SI != E; ++SI)
+      OS << " " << *SI;
+    OS << "\n";
+  }
 }
 
 void MachineBasicBlock::addSuccessor(MachineBasicBlock *succ) {