[llvm-commits] [llvm] r107970 - /llvm/trunk/include/llvm/Analysis/Dominators.h
Gabor Greif
ggreif at gmail.com
Fri Jul 9 07:46:49 PDT 2010
Author: ggreif
Date: Fri Jul 9 09:46:49 2010
New Revision: 107970
URL: http://llvm.org/viewvc/llvm-project?rev=107970&view=rev
Log:
fix clang selfhost issue (shadowing)
Modified:
llvm/trunk/include/llvm/Analysis/Dominators.h
Modified: llvm/trunk/include/llvm/Analysis/Dominators.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/Dominators.h?rev=107970&r1=107969&r2=107970&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/Dominators.h (original)
+++ llvm/trunk/include/llvm/Analysis/Dominators.h Fri Jul 9 09:46:49 2010
@@ -258,9 +258,9 @@
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;
}
More information about the llvm-commits
mailing list