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 | 1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a (patch) | |
tree | fed2ca29c565011c80a8185dee3c8c79c09246d6 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 1f2899288693418786cc0055f3048fec3c6049c6 (diff) | |
download | bcm5719-llvm-1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a.tar.gz bcm5719-llvm-1216f54276aae7fc2bd4056c198c8d2dd6b2ec5a.zip |
remove dead PrefixPrinter class.
llvm-svn: 79796
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 340f12f7e5a..93a8feeea75 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -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 { |