diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:05:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:05:07 +0000 |
commit | 4437ae213d5435390f0750213b53ec807c047f22 (patch) | |
tree | 25d7db39673a28eec259f4a82d38169205befb0f /lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | |
parent | 893e1c90a03a53cf13f73849324e83612688428a (diff) |
eliminate uses of cerr()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp index 568587ab33..c724fe214f 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp @@ -138,9 +138,9 @@ void ScheduleDAGFast::ReleasePred(SUnit *SU, SDep *PredEdge) { #ifndef NDEBUG if (PredSU->NumSuccsLeft < 0) { - cerr << "*** Scheduling failed! ***\n"; + errs() << "*** Scheduling failed! ***\n"; PredSU->dump(this); - cerr << " has been released too many times!\n"; + errs() << " has been released too many times!\n"; llvm_unreachable(0); } #endif @@ -604,16 +604,16 @@ void ScheduleDAGFast::ListScheduleBottomUp() { continue; } if (!AnyNotSched) - cerr << "*** List scheduling failed! ***\n"; + errs() << "*** List scheduling failed! ***\n"; SUnits[i].dump(this); - cerr << "has not been scheduled!\n"; + errs() << "has not been scheduled!\n"; AnyNotSched = true; } if (SUnits[i].NumSuccsLeft != 0) { if (!AnyNotSched) - cerr << "*** List scheduling failed! ***\n"; + errs() << "*** List scheduling failed! ***\n"; SUnits[i].dump(this); - cerr << "has successors left!\n"; + errs() << "has successors left!\n"; AnyNotSched = true; } } |