From bcd2498f4f1682dbdc41452add5b9bc72cbd6b3f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 7 Dec 2006 20:28:15 +0000 Subject: Removed more includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32321 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/MachineFunction.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'lib/CodeGen/MachineFunction.cpp') diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 5d82f722ef..5aaae6deb5 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -31,9 +31,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/Config/config.h" #include -#include #include - using namespace llvm; static AnnotationID MF_AID( @@ -177,7 +175,7 @@ void MachineFunction::RenumberBlocks(MachineBasicBlock *MBB) { } -void MachineFunction::dump() const { print(std::cerr); } +void MachineFunction::dump() const { print(*cerr.stream()); } void MachineFunction::print(std::ostream &OS) const { OS << "# Machine code for " << Fn->getName () << "():\n"; @@ -268,8 +266,8 @@ void MachineFunction::viewCFG() const #ifndef NDEBUG ViewGraph(this, "mf" + getFunction()->getName()); #else - std::cerr << "SelectionDAG::viewGraph is only available in debug builds on " - << "systems with Graphviz or gv!\n"; + cerr << "SelectionDAG::viewGraph is only available in debug builds on " + << "systems with Graphviz or gv!\n"; #endif // NDEBUG } @@ -350,7 +348,7 @@ void MachineFrameInfo::print(const MachineFunction &MF, std::ostream &OS) const{ } void MachineFrameInfo::dump(const MachineFunction &MF) const { - print(MF, std::cerr); + print(MF, *cerr.stream()); } @@ -390,7 +388,7 @@ unsigned MachineJumpTableInfo::getAlignment() const { return TD->getPointerAlignment(); } -void MachineJumpTableInfo::dump() const { print(std::cerr); } +void MachineJumpTableInfo::dump() const { print(*cerr.stream()); } //===----------------------------------------------------------------------===// @@ -473,4 +471,4 @@ void MachineConstantPool::print(std::ostream &OS) const { } } -void MachineConstantPool::dump() const { print(std::cerr); } +void MachineConstantPool::dump() const { print(*cerr.stream()); } -- cgit v1.2.3-18-g5258