diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-26 01:10:55 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-26 01:10:55 +0000 |
commit | a4e4ffd389497eb28f5fe91521fb71da4340e5d6 (patch) | |
tree | 4b451f9b85311f831df0e12084e3a13e1f4f0258 /lib/CodeGen/LatencyPriorityQueue.cpp | |
parent | 4f989451328f638bab0e9535bbc1704ea7262324 (diff) |
Change push_all to a non-virtual function and implement it in the
base class, since all the implementations are the same.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LatencyPriorityQueue.cpp')
-rw-r--r-- | lib/CodeGen/LatencyPriorityQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LatencyPriorityQueue.cpp b/lib/CodeGen/LatencyPriorityQueue.cpp index f1bd573543..6df7b12064 100644 --- a/lib/CodeGen/LatencyPriorityQueue.cpp +++ b/lib/CodeGen/LatencyPriorityQueue.cpp @@ -68,7 +68,7 @@ SUnit *LatencyPriorityQueue::getSingleUnscheduledPred(SUnit *SU) { return OnlyAvailablePred; } -void LatencyPriorityQueue::push_impl(SUnit *SU) { +void LatencyPriorityQueue::push(SUnit *SU) { // Look at all of the successors of this node. Count the number of nodes that // this node is the sole unscheduled node for. unsigned NumNodesBlocking = 0; |