PostOrderIterator really does depend on Method and BasicBlock. Obviously this

is a huge fixme.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-02-04 16:29:55 +00:00
parent 2f9b28e59a
commit 7612c90351
2 changed files with 6 additions and 0 deletions

View File

@ -122,6 +122,9 @@ ipo_iterator<T> ipo_end(T G){
// } // }
// //
#include "llvm/BasicBlock.h" // FIXME!
#include "llvm/Method.h" // FIXME!
typedef std::vector<BasicBlock*>::reverse_iterator rpo_iterator; typedef std::vector<BasicBlock*>::reverse_iterator rpo_iterator;
// TODO: FIXME: ReversePostOrderTraversal is not generic! // TODO: FIXME: ReversePostOrderTraversal is not generic!
class ReversePostOrderTraversal { class ReversePostOrderTraversal {

View File

@ -122,6 +122,9 @@ ipo_iterator<T> ipo_end(T G){
// } // }
// //
#include "llvm/BasicBlock.h" // FIXME!
#include "llvm/Method.h" // FIXME!
typedef std::vector<BasicBlock*>::reverse_iterator rpo_iterator; typedef std::vector<BasicBlock*>::reverse_iterator rpo_iterator;
// TODO: FIXME: ReversePostOrderTraversal is not generic! // TODO: FIXME: ReversePostOrderTraversal is not generic!
class ReversePostOrderTraversal { class ReversePostOrderTraversal {