[PATCH] D30434: [LCG] Fix EXPENSIVE_CHECKS typo. NFC

Francis Visoiu Mistrih via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 28 10:46:54 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL296500: [LCG] Fix EXPENSIVE_CHECKS typo. NFC (authored by thegameg).

Changed prior to commit:
  https://reviews.llvm.org/D30434?vs=89948&id=90060#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30434

Files:
  llvm/trunk/lib/Analysis/LazyCallGraph.cpp


Index: llvm/trunk/lib/Analysis/LazyCallGraph.cpp
===================================================================
--- llvm/trunk/lib/Analysis/LazyCallGraph.cpp
+++ llvm/trunk/lib/Analysis/LazyCallGraph.cpp
@@ -817,7 +817,7 @@
   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
   assert(G->lookupRefSCC(TargetN) != this &&
          "Target must not be in this RefSCC.");
-#ifdef EXPENSIVE_CEHCKS
+#ifdef EXPENSIVE_CHECKS
   assert(G->lookupRefSCC(TargetN)->isDescendantOf(*this) &&
          "Target must be a descendant of the Source.");
 #endif
@@ -839,7 +839,7 @@
   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
   assert(G->lookupRefSCC(TargetN) != this &&
          "Target must not be in this RefSCC.");
-#ifdef EXPENSIVE_CEHCKS
+#ifdef EXPENSIVE_CHECKS
   assert(G->lookupRefSCC(TargetN)->isDescendantOf(*this) &&
          "Target must be a descendant of the Source.");
 #endif
@@ -876,7 +876,7 @@
 
   RefSCC &TargetC = *G->lookupRefSCC(TargetN);
   assert(&TargetC != this && "Target must not be in this RefSCC.");
-#ifdef EXPENSIVE_CEHCKS
+#ifdef EXPENSIVE_CHECKS
   assert(TargetC.isDescendantOf(*this) &&
          "Target must be a descendant of the Source.");
 #endif
@@ -896,7 +896,7 @@
   assert(G->lookupRefSCC(TargetN) == this && "Target must be in this RefSCC.");
   RefSCC &SourceC = *G->lookupRefSCC(SourceN);
   assert(&SourceC != this && "Source must not be in this RefSCC.");
-#ifdef EXPENSIVE_CEHCKS
+#ifdef EXPENSIVE_CHECKS
   assert(SourceC.isDescendantOf(*this) &&
          "Source must be a descendant of the Target.");
 #endif
@@ -1449,7 +1449,7 @@
     return;
   }
 
-#ifdef EXPENSIVE_CEHCKS
+#ifdef EXPENSIVE_CHECKS
   assert(TargetRC.isDescendantOf(*this) &&
          "Target must be a descendant of the Source.");
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30434.90060.patch
Type: text/x-patch
Size: 1827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170228/ce89486f/attachment.bin>


More information about the llvm-commits mailing list