1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Change errs() to dbgs().

llvm-svn: 92581
This commit is contained in:
David Greene 2010-01-05 01:25:11 +00:00
parent 54706ebebb
commit b1764ac8cb

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();
}
}