mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 03:29:40 +00:00
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:
parent
33db62ce23
commit
84fa8229bb
@ -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