aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-09 14:46:49 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-09 14:46:49 +0000
commit7c71b81a4fccd236e191dbbd6926b35fb4ac9b1e (patch)
tree36c8c00d5d806ccc07baf583c8345015c07e52c7
parent08149858879a933d8b981091fbf4822fe55513bc (diff)
fix clang selfhost issue (shadowing)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107970 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Dominators.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 1ffde368d8..1979d3f682 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -258,9 +258,9 @@ protected:
for (typename InvTraits::ChildIteratorType PI =
InvTraits::child_begin(NewBBSucc),
E = InvTraits::child_end(NewBBSucc); PI != E; ++PI) {
- typename InvTraits::NodeType *N = *PI;
- if (N != NewBB && !DT.dominates(NewBBSucc, N) &&
- DT.isReachableFromEntry(N)) {
+ typename InvTraits::NodeType *ND = *PI;
+ if (ND != NewBB && !DT.dominates(NewBBSucc, ND) &&
+ DT.isReachableFromEntry(ND)) {
NewBBDominatesNewBBSucc = false;
break;
}