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 | 7c00576a62b4c899e27fe0da7698929bafe39a00 (patch) | |
tree | 5b9668a1336a2b561d02114660d9d846f56f82c5 /llvm/lib/CodeGen/LatencyPriorityQueue.cpp | |
parent | 5112aea14d0a959568859a7f2f3f69126959d72c (diff) | |
download | bcm5719-llvm-7c00576a62b4c899e27fe0da7698929bafe39a00.tar.gz bcm5719-llvm-7c00576a62b4c899e27fe0da7698929bafe39a00.zip |
Change push_all to a non-virtual function and implement it in the
base class, since all the implementations are the same.
llvm-svn: 104659
Diffstat (limited to 'llvm/lib/CodeGen/LatencyPriorityQueue.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LatencyPriorityQueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LatencyPriorityQueue.cpp b/llvm/lib/CodeGen/LatencyPriorityQueue.cpp index f1bd5735439..6df7b12064b 100644 --- a/llvm/lib/CodeGen/LatencyPriorityQueue.cpp +++ b/llvm/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; |