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/SelectionDAG | |
| 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/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp index 0f606b08cd5..1bc059fad12 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp +++ b/llvm/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(); |

