Change errs() to dbgs().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92581 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2010-01-05 01:25:11 +00:00
parent 33db62ce23
commit 84fa8229bb

View File

@ -253,19 +253,19 @@ void ScheduleDAGSDNodes::ComputeLatency(SUnit *SU) {
void ScheduleDAGSDNodes::dumpNode(const SUnit *SU) const {
if (!SU->getNode()) {
errs() << "PHYS REG COPY\n";
dbgs() << "PHYS REG COPY\n";
return;
}
SU->getNode()->dump(DAG);
errs() << "\n";
dbgs() << "\n";
SmallVector<SDNode *, 4> FlaggedNodes;
for (SDNode *N = SU->getNode()->getFlaggedNode(); N; N = N->getFlaggedNode())
FlaggedNodes.push_back(N);
while (!FlaggedNodes.empty()) {
errs() << " ";
dbgs() << " ";
FlaggedNodes.back()->dump(DAG);
errs() << "\n";
dbgs() << "\n";
FlaggedNodes.pop_back();
}
}