diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-28 22:56:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-28 22:56:31 +0000 |
commit | bb09a109294b5af04a99b73f2b84c5f8736fdac3 (patch) | |
tree | 0b8da8ec0e7d1ecde6386c68184ba1fa304669a7 /llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | |
parent | b021f68438ace12634f4780d8a346b6a017bd88e (diff) | |
download | bcm5719-llvm-bb09a109294b5af04a99b73f2b84c5f8736fdac3.tar.gz bcm5719-llvm-bb09a109294b5af04a99b73f2b84c5f8736fdac3.zip |
Pull iterators out of CFG.h and CFGdecls and put them in Support directory
llvm-svn: 664
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp index 9e2053bb7cf..7840a250984 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp +++ b/llvm/lib/CodeGen/InstrSched/SchedPriorities.cpp @@ -19,6 +19,7 @@ //**************************************************************************/ #include "SchedPriorities.h" +#include "llvm/Support/PostOrderIterator.h" SchedPriorities::SchedPriorities(const Method* method, @@ -50,8 +51,7 @@ SchedPriorities::initialize() void SchedPriorities::computeDelays(const SchedGraph* graph) { - sg_po_const_iterator poIter = sg_po_const_iterator::begin(graph->getRoot()); - sg_po_const_iterator poEnd = sg_po_const_iterator::end( graph->getRoot()); + po_iterator<const SchedGraph*> poIter = po_begin(graph), poEnd =po_end(graph); for ( ; poIter != poEnd; ++poIter) { const SchedGraphNode* node = *poIter; |