[llvm-commits] [llvm] r122691 - /llvm/trunk/include/llvm/Analysis/DominatorInternals.h

Cameron Zwarich zwarich at apple.com
Sun Jan 2 04:17:10 PST 2011


Author: zwarich
Date: Sun Jan  2 06:17:10 2011
New Revision: 122691

URL: http://llvm.org/viewvc/llvm-project?rev=122691&view=rev
Log:
Fix a typo in a variable name.

Modified:
    llvm/trunk/include/llvm/Analysis/DominatorInternals.h

Modified: llvm/trunk/include/llvm/Analysis/DominatorInternals.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DominatorInternals.h?rev=122691&r1=122690&r2=122691&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DominatorInternals.h (original)
+++ llvm/trunk/include/llvm/Analysis/DominatorInternals.h Sun Jan  2 06:17:10 2011
@@ -54,7 +54,7 @@
     }
   }
 #else
-  bool IsChilOfArtificialExit = (N != 0);
+  bool IsChildOfArtificialExit = (N != 0);
 
   std::vector<std::pair<typename GraphT::NodeType*,
                         typename GraphT::ChildIteratorType> > Worklist;
@@ -76,10 +76,10 @@
       //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





More information about the llvm-commits mailing list