summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit1eede6c635708c7adf270e86fded287cc177b6bd (patch)
tree4c89abe7ef9ba882f7b7ee573872ddb167792f19 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentc21954dff6348934bacae79002f4c5b91642c779 (diff)
downloadbcm5719-llvm-1eede6c635708c7adf270e86fded287cc177b6bd.tar.gz
bcm5719-llvm-1eede6c635708c7adf270e86fded287cc177b6bd.zip
revert r76602, 76603, and r76615, pending design discussions.
llvm-svn: 76646
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp4
1 files changed, 1 insertions, 3 deletions
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());
}
OpenPOWER on IntegriCloud