diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-15 20:35:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-15 20:35:25 +0000 |
commit | 2109f502d646a1bafc7b21a14347a71771a7b4cf (patch) | |
tree | 433a8f66a741289a2012cd1d3cc401d768f3b829 /lib/CodeGen/MachineFunction.cpp | |
parent | 198ab640bbb0b8e1cdda518b7f8b348764e4402c (diff) |
Implement printing of MBB arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5053 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index d9ea15a6f5..8e2616a621 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -112,8 +112,7 @@ void MachineFunction::print(std::ostream &OS) const { for (const_iterator BB = begin(); BB != end(); ++BB) { BasicBlock *LBB = BB->getBasicBlock(); - OS << "\n" << LBB->getName() << " (" - << (const void*)BB->getBasicBlock() << "):\n"; + OS << "\n" << LBB->getName() << " (" << (const void*)LBB << "):\n"; for (MachineBasicBlock::const_iterator I = BB->begin(); I != BB->end();++I){ OS << "\t"; (*I)->print(OS, Target); |