summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-23 15:57:19 +0000
committerDan Gohman <gohman@apple.com>2009-03-23 15:57:19 +0000
commit4f2fea1a21f73934c3060e744cd1a5bb94c79be3 (patch)
treeefd940ae58b3dcb0ddf09793ae1c3eb625ec8660 /llvm/lib/CodeGen
parent7135a9d16600ee00486d2a424e17e0fac7991202 (diff)
downloadbcm5719-llvm-4f2fea1a21f73934c3060e744cd1a5bb94c79be3.tar.gz
bcm5719-llvm-4f2fea1a21f73934c3060e744cd1a5bb94c79be3.zip
Now that errs() is properly non-buffered, there's no need to
explicitly flush it. llvm-svn: 67526
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
-rw-r--r--llvm/lib/CodeGen/PseudoSourceValue.cpp2
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index e19cf7a6ed2..bd7105fd285 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -558,4 +558,4 @@ void MachineConstantPool::print(raw_ostream &OS) const {
}
}
-void MachineConstantPool::dump() const { print(errs()); errs().flush(); }
+void MachineConstantPool::dump() const { print(errs()); }
diff --git a/llvm/lib/CodeGen/PseudoSourceValue.cpp b/llvm/lib/CodeGen/PseudoSourceValue.cpp
index d0ea7069d4b..b4c20e6bfd3 100644
--- a/llvm/lib/CodeGen/PseudoSourceValue.cpp
+++ b/llvm/lib/CodeGen/PseudoSourceValue.cpp
@@ -42,7 +42,7 @@ PseudoSourceValue::PseudoSourceValue() :
Value(PointerType::getUnqual(Type::Int8Ty), PseudoSourceValueVal) {}
void PseudoSourceValue::dump() const {
- print(errs()); errs() << '\n'; errs().flush();
+ print(errs()); errs() << '\n';
}
void PseudoSourceValue::print(raw_ostream &OS) const {
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index b85a04d8588..448d7608681 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -5308,7 +5308,6 @@ std::string ISD::ArgFlagsTy::getArgFlagsString() {
void SDNode::dump() const { dump(0); }
void SDNode::dump(const SelectionDAG *G) const {
print(errs(), G);
- errs().flush();
}
void SDNode::print_types(raw_ostream &OS, const SelectionDAG *G) const {
@@ -5544,7 +5543,6 @@ static void DumpNodesr(raw_ostream &OS, const SDNode *N, unsigned indent,
void SDNode::dumpr() const {
VisitedSDNodeSet once;
DumpNodesr(errs(), this, 0, 0, once);
- errs().flush();
}
const Type *ConstantPoolSDNode::getType() const {
OpenPOWER on IntegriCloud