summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-02-06 20:59:07 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-02-06 20:59:07 +0000
commita80cfb3063b7e4f01533748e90e97e73bbbb2e2b (patch)
tree7201f5040e348b97ba918e9138b6bafa3e0670d2 /llvm/lib
parent1e0b158dbdf17f86503e9f5da29186c1ca3c9a4b (diff)
downloadbcm5719-llvm-a80cfb3063b7e4f01533748e90e97e73bbbb2e2b.tar.gz
bcm5719-llvm-a80cfb3063b7e4f01533748e90e97e73bbbb2e2b.zip
[PM/LCG] Fix the no-asserts build after r294227. Sorry for the noise.
llvm-svn: 294235
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/LazyCallGraph.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp
index 1b9e6d36916..3ab3c734263 100644
--- a/llvm/lib/Analysis/LazyCallGraph.cpp
+++ b/llvm/lib/Analysis/LazyCallGraph.cpp
@@ -1811,7 +1811,9 @@ void LazyCallGraph::buildRefSCCs() {
(void)Inserted;
assert(Inserted && "Cannot already have this RefSCC in the index map!");
PostOrderRefSCCs.push_back(NewRC);
+#ifndef NDEBUG
NewRC->verify();
+#endif
});
}
OpenPOWER on IntegriCloud