summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-04-06 20:32:10 +0000
committerDavide Italiano <davide@freebsd.org>2017-04-06 20:32:10 +0000
commit18ad20eab5edd6ea0dd8d8c6258ea0f4a8c82c5c (patch)
tree4a6aad9eb0f29a5f2b542bdc709de359e830f30a /llvm
parentdb11fdfda50017e0175602fec9949aa34141656a (diff)
downloadbcm5719-llvm-18ad20eab5edd6ea0dd8d8c6258ea0f4a8c82c5c.tar.gz
bcm5719-llvm-18ad20eab5edd6ea0dd8d8c6258ea0f4a8c82c5c.zip
[BFIterator] Remove an assertion that doesn't hold. NFCI.
llvm-svn: 299703
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/ADT/BreadthFirstIterator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/BreadthFirstIterator.h b/llvm/include/llvm/ADT/BreadthFirstIterator.h
index 437510457f3..eaeecb6e057 100644
--- a/llvm/include/llvm/ADT/BreadthFirstIterator.h
+++ b/llvm/include/llvm/ADT/BreadthFirstIterator.h
@@ -119,7 +119,6 @@ public:
static bf_iterator end(const GraphT &G) { return bf_iterator(); }
bool operator==(const bf_iterator &RHS) const {
- assert(VisitQueue.size() == 0);
return VisitQueue == RHS.VisitQueue;
}
OpenPOWER on IntegriCloud