Implement TLSLDM.
[oota-llvm.git] / include / llvm / ADT / DepthFirstIterator.h
index 3edb5550788d8351c71ab94cc124daa0d6571780..b9e5cbdf8c6b622100b9ac29930e8a47e7dbc615 100644 (file)
@@ -193,15 +193,6 @@ public:
   NodeType *getPath(unsigned n) const {
     return VisitStack[n].first.getPointer();
   }
-
-  /// skipChildren - Skip all children of Node, assuming that Node is on the
-  /// current path. This allows more aggressive pruning than just skipping
-  /// children of the current node.
-  _Self& skipChildren(NodeType *Node) {
-    while (!VisitStack.empty() && **this != Node)
-      VisitStack.pop_back();
-    return skipChildren();
-  }
 };