diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-23 15:57:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-23 15:57:19 +0000 |
commit | f871ccb853a2ccbe8675c912330c041b318be8cd (patch) | |
tree | e73e6ef06693e1ba12f7d53d8648606602c5b10e /lib/CodeGen | |
parent | f49f0cdb48a9e6525b44f8f4b210558df106ff4e (diff) |
Now that errs() is properly non-buffered, there's no need to
explicitly flush it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/MachineFunction.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/PseudoSourceValue.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index e19cf7a6ed..bd7105fd28 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/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/lib/CodeGen/PseudoSourceValue.cpp b/lib/CodeGen/PseudoSourceValue.cpp index d0ea7069d4..b4c20e6bfd 100644 --- a/lib/CodeGen/PseudoSourceValue.cpp +++ b/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/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index b85a04d858..448d760868 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/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 { |