[llvm-commits] CVS: llvm/include/llvm/ADT/PostOrderIterator.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 6 21:41:55 PST 2005
Changes in directory llvm/include/llvm/ADT:
PostOrderIterator.h updated: 1.19 -> 1.20
---
Log message:
Remove a now-dead map, patch by Saem Ghani, thanks!
---
Diffs of the changes: (+1 -2)
PostOrderIterator.h | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/include/llvm/ADT/PostOrderIterator.h
diff -u llvm/include/llvm/ADT/PostOrderIterator.h:1.19 llvm/include/llvm/ADT/PostOrderIterator.h:1.20
--- llvm/include/llvm/ADT/PostOrderIterator.h:1.19 Tue Dec 6 01:05:27 2005
+++ llvm/include/llvm/ADT/PostOrderIterator.h Tue Dec 6 23:41:44 2005
@@ -46,8 +46,7 @@
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;
More information about the llvm-commits
mailing list