From f895418b47bd57d95bd9a7948984d4ad30d63a6b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Dec 2002 20:35:25 +0000 Subject: Implement printing of MBB arguments llvm-svn: 5053 --- llvm/lib/CodeGen/MachineFunction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineFunction.cpp') diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index d9ea15a..8e2616a 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); -- cgit v1.1