[llvm-branch-commits] [llvm] 54c0105 - Fix non-assert builds after D93828

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jan 6 11:46:23 PST 2021


Author: Arthur Eubanks
Date: 2021-01-06T11:42:03-08:00
New Revision: 54c01057b68d2a0e565f289cfa9edb8cca7f5980

URL: https://github.com/llvm/llvm-project/commit/54c01057b68d2a0e565f289cfa9edb8cca7f5980
DIFF: https://github.com/llvm/llvm-project/commit/54c01057b68d2a0e565f289cfa9edb8cca7f5980.diff

LOG: Fix non-assert builds after D93828

Added: 
    

Modified: 
    llvm/lib/Analysis/LazyCallGraph.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp
index beb8b7f0b1d8..ef16f94822a3 100644
--- a/llvm/lib/Analysis/LazyCallGraph.cpp
+++ b/llvm/lib/Analysis/LazyCallGraph.cpp
@@ -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) {


        


More information about the llvm-branch-commits mailing list