diff options
author | Dan Gohman <gohman@apple.com> | 2008-11-18 02:06:40 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-11-18 02:06:40 +0000 |
commit | 3cc6243ddfdba3ad64035b919c88b09773a60880 (patch) | |
tree | a438ea02d69f3466965f472fcf47e82144b3e599 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | 8f55b3d67d685214aef7ff6c9d514d0461703caf (diff) |
Change SUnit's dump method to take a ScheduleDAG* instead of
a SelectionDAG*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 1bce96727d..e7e14516eb 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -113,7 +113,7 @@ void ScheduleDAGList::ReleaseSucc(SUnit *SU, SUnit *SuccSU, bool isChain) { #ifndef NDEBUG if (SuccSU->NumPredsLeft < 0) { cerr << "*** Scheduling failed! ***\n"; - SuccSU->dump(DAG); + SuccSU->dump(this); cerr << " has been released too many times!\n"; assert(0); } @@ -142,7 +142,7 @@ void ScheduleDAGList::ReleaseSucc(SUnit *SU, SUnit *SuccSU, bool isChain) { /// the Available queue. void ScheduleDAGList::ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle) { DOUT << "*** Scheduling [" << CurCycle << "]: "; - DEBUG(SU->dump(DAG)); + DEBUG(SU->dump(this)); Sequence.push_back(SU); SU->Cycle = CurCycle; @@ -267,7 +267,7 @@ void ScheduleDAGList::ListScheduleTopDown() { if (SUnits[i].NumPredsLeft != 0) { if (!AnyNotSched) cerr << "*** List scheduling failed! ***\n"; - SUnits[i].dump(DAG); + SUnits[i].dump(this); cerr << "has not been scheduled!\n"; AnyNotSched = true; } |