From 5681e380e0184d9160315c8756b06f2ea55d9bd6 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 6 Feb 2017 20:59:07 +0000 Subject: [PATCH] [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 --- lib/Analysis/LazyCallGraph.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 }); } -- 2.50.1