From 1eede6c635708c7adf270e86fded287cc177b6bd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 21 Jul 2009 21:12:58 +0000 Subject: revert r76602, 76603, and r76615, pending design discussions. llvm-svn: 76646 --- llvm/lib/CodeGen/MachineBasicBlock.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp') diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 82ff769c1d0..71e6b3e4d0f 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -148,8 +148,7 @@ static inline void OutputReg(std::ostream &os, unsigned RegNo, os << " %reg" << RegNo; } -void MachineBasicBlock::print(std::ostream &OS, - const PrefixPrinter &prefix) const { +void MachineBasicBlock::print(std::ostream &OS) const { const MachineFunction *MF = getParent(); if(!MF) { OS << "Can't print out MachineBasicBlock because parent MachineFunction" @@ -182,7 +181,6 @@ void MachineBasicBlock::print(std::ostream &OS, } for (const_iterator I = begin(); I != end(); ++I) { - OS << prefix(*I); OS << "\t"; I->print(OS, &getParent()->getTarget()); } -- cgit v1.2.3