mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
Pull iterators out of CFG.h and CFGdecls and put them in Support directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user