diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-07 05:41:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-07 05:41:44 +0000 |
commit | 8b6cea1b9595c1ddbb07dbbe8a8af781d78cd51d (patch) | |
tree | b791c6049519ff3ab04915d904fd27a107a4a9c1 | |
parent | bbe1225bf408febe1c669616e3712e16ab299a35 (diff) |
Remove a now-dead map, patch by Saem Ghani, thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24629 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/PostOrderIterator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/ADT/PostOrderIterator.h b/include/llvm/ADT/PostOrderIterator.h index a0ff051542..76d99b4a2d 100644 --- a/include/llvm/ADT/PostOrderIterator.h +++ b/include/llvm/ADT/PostOrderIterator.h @@ -46,8 +46,7 @@ class po_iterator : public forward_iterator<typename GT::NodeType, ptrdiff_t>, typedef forward_iterator<typename GT::NodeType, ptrdiff_t> super; typedef typename GT::NodeType NodeType; typedef typename GT::ChildIteratorType ChildItTy; - - std::set<NodeType *> Visited; // All of the blocks visited so far... + // VisitStack - Used to maintain the ordering. Top = current block // First element is basic block pointer, second is the 'next child' to visit std::stack<std::pair<NodeType *, ChildItTy> > VisitStack; |