From 7612c90351f49fa8cc7f23eb2bd2d6206229feac Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 4 Feb 2002 16:29:55 +0000 Subject: [PATCH] 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 --- include/Support/PostOrderIterator.h | 3 +++ include/llvm/ADT/PostOrderIterator.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/include/Support/PostOrderIterator.h b/include/Support/PostOrderIterator.h index 85b3bf649c0..97027114cf9 100644 --- a/include/Support/PostOrderIterator.h +++ b/include/Support/PostOrderIterator.h @@ -122,6 +122,9 @@ ipo_iterator ipo_end(T G){ // } // +#include "llvm/BasicBlock.h" // FIXME! +#include "llvm/Method.h" // FIXME! + typedef std::vector::reverse_iterator rpo_iterator; // TODO: FIXME: ReversePostOrderTraversal is not generic! class ReversePostOrderTraversal { diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index 85b3bf649c0..97027114cf9 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -122,6 +122,9 @@ ipo_iterator ipo_end(T G){ // } // +#include "llvm/BasicBlock.h" // FIXME! +#include "llvm/Method.h" // FIXME! + typedef std::vector::reverse_iterator rpo_iterator; // TODO: FIXME: ReversePostOrderTraversal is not generic! class ReversePostOrderTraversal {