diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 00:47:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 00:47:04 +0000 |
commit | 1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a (patch) | |
tree | fed2ca29c565011c80a8185dee3c8c79c09246d6 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 1f2899288693418786cc0055f3048fec3c6049c6 (diff) | |
download | llvm-1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a.zip llvm-1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a.tar.gz llvm-1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a.tar.bz2 |
remove dead PrefixPrinter class.
llvm-svn: 79796
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 777aa85..7ec9aab 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -173,14 +173,12 @@ static inline void OutputReg(raw_ostream &os, unsigned RegNo, os << " %reg" << RegNo; } -void MachineBasicBlock::print(std::ostream &OS, - const PrefixPrinter &prefix) const { +void MachineBasicBlock::print(std::ostream &OS) const { raw_os_ostream RawOS(OS); - print(RawOS, prefix); + print(RawOS); } -void MachineBasicBlock::print(raw_ostream &OS, - const PrefixPrinter &prefix) const { +void MachineBasicBlock::print(raw_ostream &OS) const { const MachineFunction *MF = getParent(); if (!MF) { OS << "Can't print out MachineBasicBlock because parent MachineFunction" @@ -213,7 +211,7 @@ void MachineBasicBlock::print(raw_ostream &OS, } for (const_iterator I = begin(); I != end(); ++I) { - prefix(OS, *I) << '\t'; + OS << '\t'; I->print(OS, &getParent()->getTarget()); } |