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 | 2d8e3d20be377112999670f210200b3658762571 (patch) | |
tree | 3d5bc32c0b4ca5bdcad5b0f298dd59f738c278e5 /lib/CodeGen/MachineBasicBlock.cpp | |
parent | 77942d4ee47e76626d574b027e4b9c5c90e2bbf4 (diff) |
remove dead PrefixPrinter class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | lib/CodeGen/MachineBasicBlock.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp index 777aa85c4c..7ec9aab8c2 100644 --- a/lib/CodeGen/MachineBasicBlock.cpp +++ b/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()); } |