mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Change errs() to dbgs().
llvm-svn: 92581
This commit is contained in:
parent
54706ebebb
commit
b1764ac8cb
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user