revert r76602, 76603, and r76615, pending design discussions.

llvm-svn: 76646
This commit is contained in:
Chris Lattner
2009-07-21 21:12:58 +00:00
parent c21954dff6
commit 1eede6c635
7 changed files with 19 additions and 90 deletions

View File

@@ -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());
}