]> granicus.if.org Git - llvm/commitdiff
[PM/LCG] Fix the no-asserts build after r294227. Sorry for the noise.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 6 Feb 2017 20:59:07 +0000 (20:59 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 6 Feb 2017 20:59:07 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294235 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LazyCallGraph.cpp

index 1b9e6d36916de13e5a7f250750eaaeed1b6d9be8..3ab3c734263d6b8e330923fac82fb8e344fd76f3 100644 (file)
@@ -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
       });
 }