Changes in directory llvm/lib/CodeGen:

MachineBasicBlock.cpp updated: 1.29 -> 1.30
---
Log message:

Print the MBB ID # along with the bb tag in the -print-machine-instrs output.


---
Diffs of the changes:  (+1 -1)

 MachineBasicBlock.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/MachineBasicBlock.cpp
diff -u llvm/lib/CodeGen/MachineBasicBlock.cpp:1.29 
llvm/lib/CodeGen/MachineBasicBlock.cpp:1.30
--- llvm/lib/CodeGen/MachineBasicBlock.cpp:1.29 Mon Sep 25 22:41:59 2006
+++ llvm/lib/CodeGen/MachineBasicBlock.cpp      Tue Oct  3 15:17:24 2006
@@ -96,7 +96,7 @@
   const BasicBlock *LBB = getBasicBlock();
   if (LBB)
     OS << "\n" << LBB->getName() << " (" << (const void*)this
-       << ", LLVM BB @" << (const void*) LBB << "):\n";
+       << ", 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