remove dead PrefixPrinter class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-23 00:47:04 +00:00
parent 77942d4ee4
commit 2d8e3d20be
6 changed files with 20 additions and 111 deletions

View File

@ -220,9 +220,8 @@ void MachineFunction::dump() const {
print(*cerr.stream());
}
void MachineFunction::print(std::ostream &OS,
const PrefixPrinter &prefix) const {
OS << "# Machine code for " << Fn->getNameStr () << "():\n";
void MachineFunction::print(std::ostream &OS) const {
OS << "# Machine code for " << Fn->getNameStr() << "():\n";
// Print Frame Information
FrameInfo->print(*this, OS);
@ -263,12 +262,10 @@ void MachineFunction::print(std::ostream &OS,
OS << "\n";
}
for (const_iterator BB = begin(); BB != end(); ++BB) {
prefix(OS, *BB);
BB->print(OS, prefix);
}
for (const_iterator BB = begin(), E = end(); BB != E; ++BB)
BB->print(OS);
OS << "\n# End machine code for " << Fn->getNameStr () << "().\n\n";
OS << "\n# End machine code for " << Fn->getNameStr() << "().\n\n";
}
namespace llvm {