diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-21 21:12:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-21 21:12:58 +0000 |
commit | 1eede6c635708c7adf270e86fded287cc177b6bd (patch) | |
tree | 4c89abe7ef9ba882f7b7ee573872ddb167792f19 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | c21954dff6348934bacae79002f4c5b91642c779 (diff) | |
download | bcm5719-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/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 324e3a5b921..599efb8bd27 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -252,8 +252,7 @@ void MachineFunction::dump() const { print(*cerr.stream()); } -void MachineFunction::print(std::ostream &OS, - const PrefixPrinter &prefix) const { +void MachineFunction::print(std::ostream &OS) const { OS << "# Machine code for " << Fn->getName () << "():\n"; // Print Frame Information @@ -295,10 +294,8 @@ void MachineFunction::print(std::ostream &OS, OS << "\n"; } - for (const_iterator BB = begin(); BB != end(); ++BB) { - OS << prefix(*BB); - BB->print(OS, prefix); - } + for (const_iterator BB = begin(); BB != end(); ++BB) + BB->print(OS); OS << "\n# End machine code for " << Fn->getName () << "().\n\n"; } |