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 | 22d07b14bc60407b993681c4fde4ef294908f8b4 (patch) | |
tree | 0fb509dae759f3a5cf037f8d11f76e70405e24d7 /llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | e0d5e67c981a3b67522870df00b03599a7478108 (diff) | |
download | bcm5719-llvm-22d07b14bc60407b993681c4fde4ef294908f8b4.tar.gz bcm5719-llvm-22d07b14bc60407b993681c4fde4ef294908f8b4.zip |
Change SUnit's dump method to take a ScheduleDAG* instead of
a SelectionDAG*.
llvm-svn: 59488
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 1bce96727dd..e7e14516eb7 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/llvm/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; } |