Fix a typo in a variable name.
authorCameron Zwarich <zwarich@apple.com>
Sun, 2 Jan 2011 12:17:10 +0000 (12:17 +0000)
committerCameron Zwarich <zwarich@apple.com>
Sun, 2 Jan 2011 12:17:10 +0000 (12:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122691 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/DominatorInternals.h

index b1895b5f18e8f78d2f4747e45a64295830b10ac1..5687c2350fd992ef75c7d15868aba0c08a1f0f43 100644 (file)
@@ -54,7 +54,7 @@ unsigned DFSPass(DominatorTreeBase<typename GraphT::NodeType>& DT,
     }
   }
 #else
-  bool IsChilOfArtificialExit = (N != 0);
+  bool IsChildOfArtificialExit = (N != 0);
 
   std::vector<std::pair<typename GraphT::NodeType*,
                         typename GraphT::ChildIteratorType> > Worklist;
@@ -76,10 +76,10 @@ unsigned DFSPass(DominatorTreeBase<typename GraphT::NodeType>& DT,
       //BBInfo[V].Child = 0;      // Child[v] = 0
       BBInfo.Size = 1;            // Size[v] = 1
 
-      if (IsChilOfArtificialExit)
+      if (IsChildOfArtificialExit)
         BBInfo.Parent = 1;
 
-      IsChilOfArtificialExit = false;
+      IsChildOfArtificialExit = false;
     }
 
     // store the DFS number of the current BB - the reference to BBInfo might