PostOrderIterator really does depend on Method and BasicBlock. Obviously this

is a huge fixme.

llvm-svn: 1682
This commit is contained in:
Chris Lattner 2002-02-04 16:29:55 +00:00
parent f48173a875
commit 28d8eb2286
1 changed files with 3 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;
// TODO: FIXME: ReversePostOrderTraversal is not generic!
class ReversePostOrderTraversal {