Fix non-assert builds after D93828
authorArthur Eubanks <aeubanks@google.com>
Wed, 6 Jan 2021 19:41:09 +0000 (11:41 -0800)
committerArthur Eubanks <aeubanks@google.com>
Wed, 6 Jan 2021 19:42:03 +0000 (11:42 -0800)
llvm/lib/Analysis/LazyCallGraph.cpp

index beb8b7f0b1d8348c3a8ccad02b38111036de80ae..ef16f94822a307a463af7b3deba3952eb538f6dc 100644 (file)
@@ -1791,8 +1791,8 @@ void LazyCallGraph::addSplitRefRecursiveFunctions(
       assert(!N1->lookup(N2)->isCall() &&
              "Edges between new functions must be ref edges");
     }
-#endif
   }
+#endif
 }
 
 LazyCallGraph::Node &LazyCallGraph::insertInto(Function &F, Node *&MappedN) {