[llvm-commits] CVS: llvm/lib/CodeGen/MachineBasicBlock.cpp
Chris Lattner
sabre at nondot.org
Mon Apr 30 16:13:12 PDT 2007
Changes in directory llvm/lib/CodeGen:
MachineBasicBlock.cpp updated: 1.43 -> 1.44
---
Log message:
print isLandingPad() for MBBs
---
Diffs of the changes: (+5 -3)
MachineBasicBlock.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Index: llvm/lib/CodeGen/MachineBasicBlock.cpp
diff -u llvm/lib/CodeGen/MachineBasicBlock.cpp:1.43 llvm/lib/CodeGen/MachineBasicBlock.cpp:1.44
--- llvm/lib/CodeGen/MachineBasicBlock.cpp:1.43 Fri Mar 9 02:29:08 2007
+++ llvm/lib/CodeGen/MachineBasicBlock.cpp Mon Apr 30 18:12:53 2007
@@ -111,9 +111,11 @@
const BasicBlock *LBB = getBasicBlock();
OS << "\n";
- if (LBB) OS << LBB->getName();
- OS << " (" << (const void*)this
- << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber()<< "):\n";
+ if (LBB) OS << LBB->getName() << ": ";
+ OS << (const void*)this
+ << ", LLVM BB @" << (const void*) LBB << ", ID#" << getNumber();
+ if (isLandingPad()) OS << ", EH LANDING PAD";
+ OS << ":\n";
const MRegisterInfo *MRI = MF->getTarget().getRegisterInfo();
if (livein_begin() != livein_end()) {
More information about the llvm-commits
mailing list