summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 23:00:49 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 23:00:49 +0000
commit953be893e8cffa0ef9bf410036cd96aeb526e98a (patch)
tree5237bb721639fbe713f71311d9d35019e8545de1 /lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
parentf03e62a8008a8ad279a6ed157fb507095177d17a (diff)
downloadllvm-953be893e8cffa0ef9bf410036cd96aeb526e98a.tar.gz
llvm-953be893e8cffa0ef9bf410036cd96aeb526e98a.tar.bz2
llvm-953be893e8cffa0ef9bf410036cd96aeb526e98a.tar.xz
misched preparation: rename core scheduler methods for consistency.
We had half the API with one convention, half with another. Now was a good time to clean it up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152255 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
index e12106a525..c8512914c1 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
@@ -158,7 +158,7 @@ void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
releaseSuccessors(SU);
SU->isScheduled = true;
- AvailableQueue->ScheduledNode(SU);
+ AvailableQueue->scheduledNode(SU);
}
/// listScheduleTopDown - The main loop of list scheduling for top-down
@@ -202,7 +202,7 @@ void ScheduleDAGVLIW::listScheduleTopDown() {
// don't advance the hazard recognizer.
if (AvailableQueue->empty()) {
// Reset DFA state.
- AvailableQueue->ScheduledNode(0);
+ AvailableQueue->scheduledNode(0);
++CurCycle;
continue;
}