aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2011-01-02 12:17:10 +0000
committerCameron Zwarich <zwarich@apple.com>2011-01-02 12:17:10 +0000
commit94942cec11ba3dc2592d1195324d2315a58d7711 (patch)
treee47bda1fbc485f6fa12fe5d9fcf7af13bcabd6ca /include/llvm/Analysis
parent63e07d72f8175cd2d74f0693edf1b0429580d64d (diff)
downloadexternal_llvm-94942cec11ba3dc2592d1195324d2315a58d7711.zip
external_llvm-94942cec11ba3dc2592d1195324d2315a58d7711.tar.gz
external_llvm-94942cec11ba3dc2592d1195324d2315a58d7711.tar.bz2
Fix a typo in a variable name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/DominatorInternals.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/DominatorInternals.h b/include/llvm/Analysis/DominatorInternals.h
index b1895b5..5687c23 100644
--- a/include/llvm/Analysis/DominatorInternals.h
+++ b/include/llvm/Analysis/DominatorInternals.h
@@ -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