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 | f895418b47bd57d95bd9a7948984d4ad30d63a6b (patch) | |
tree | 35e7b44a4a61a5e6815177f3628be2345c7de7ea /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | e2533336f572bf2e8145bce8e982de4ec3dd3e2e (diff) | |
download | bcm5719-llvm-f895418b47bd57d95bd9a7948984d4ad30d63a6b.tar.gz bcm5719-llvm-f895418b47bd57d95bd9a7948984d4ad30d63a6b.zip |
Implement printing of MBB arguments
llvm-svn: 5053
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index d9ea15a6f5a..8e2616a6211 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/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); |