Changes in directory llvm/lib/CodeGen:

MachineBasicBlock.cpp updated: 1.31 -> 1.32
---
Log message:

print labels even if a MBB doesn't have a corresponding LLVM BB, just don't
print the LLVM BB label.



---
Diffs of the changes:  (+4 -3)

 MachineBasicBlock.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/MachineBasicBlock.cpp
diff -u llvm/lib/CodeGen/MachineBasicBlock.cpp:1.31 
llvm/lib/CodeGen/MachineBasicBlock.cpp:1.32
--- llvm/lib/CodeGen/MachineBasicBlock.cpp:1.31 Thu Oct  5 20:12:44 2006
+++ llvm/lib/CodeGen/MachineBasicBlock.cpp      Fri Oct  6 16:28:17 2006
@@ -94,9 +94,10 @@
   }
 
   const BasicBlock *LBB = getBasicBlock();
-  if (LBB)
-    OS << "\n" << LBB->getName() << " (" << (const void*)this
-       << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< 
"):\n";
+  OS << "\n";
+  if (LBB) OS << LBB->getName();
+  OS << " (" << (const void*)this
+     << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n";
   // Print the preds of this block according to the CFG.
   if (!pred_empty()) {
     OS << "    Predecessors according to CFG:";



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to