aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-26 01:10:55 +0000
committerDan Gohman <gohman@apple.com>2010-05-26 01:10:55 +0000
commita4e4ffd389497eb28f5fe91521fb71da4340e5d6 (patch)
tree4b451f9b85311f831df0e12084e3a13e1f4f0258 /lib/CodeGen/SelectionDAG
parent4f989451328f638bab0e9535bbc1704ea7262324 (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/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
index 0f606b08cd..1bc059fad1 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
@@ -1115,11 +1115,6 @@ namespace {
Queue.push(U);
}
- void push_all(const std::vector<SUnit *> &Nodes) {
- for (unsigned i = 0, e = Nodes.size(); i != e; ++i)
- push(Nodes[i]);
- }
-
SUnit *pop() {
if (empty()) return NULL;
SUnit *V = Queue.top();