aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 21:12:58 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 21:12:58 +0000
commit3380d5c4aaafc3d78d32f583d685d64a67ae5224 (patch)
tree43398b6254f4325ea456d0bbb28b3a1a94cbbed5 /lib/CodeGen/MachineBasicBlock.cpp
parent7558f11849df6023d1256e46ea5c71b84ded5686 (diff)
revert r76602, 76603, and r76615, pending design discussions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/CodeGen/MachineBasicBlock.cpp b/lib/CodeGen/MachineBasicBlock.cpp
index 82ff769c1d..71e6b3e4d0 100644
--- a/lib/CodeGen/MachineBasicBlock.cpp
+++ b/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());
}