From: Chandler Carruth Date: Mon, 6 Feb 2017 20:59:07 +0000 (+0000) Subject: [PM/LCG] Fix the no-asserts build after r294227. Sorry for the noise. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5681e380e0184d9160315c8756b06f2ea55d9bd6;p=llvm [PM/LCG] Fix the no-asserts build after r294227. Sorry for the noise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294235 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/LazyCallGraph.cpp b/lib/Analysis/LazyCallGraph.cpp index 1b9e6d36916..3ab3c734263 100644 --- a/lib/Analysis/LazyCallGraph.cpp +++ b/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 }); }