projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0814985
)
fix clang selfhost issue (shadowing)
author
Gabor Greif
<ggreif@gmail.com>
Fri, 9 Jul 2010 14:46:49 +0000
(14:46 +0000)
committer
Gabor Greif
<ggreif@gmail.com>
Fri, 9 Jul 2010 14:46:49 +0000
(14:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107970
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Analysis/Dominators.h
patch
|
blob
|
history
diff --git
a/include/llvm/Analysis/Dominators.h
b/include/llvm/Analysis/Dominators.h
index 1ffde368d89d8120d4c68fde8f51fb0cc7b93c03..1979d3f6820bcf76106c7c214edf659d1968035c 100644
(file)
--- 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 *N
D
= *PI;
+ if (N
D != NewBB && !DT.dominates(NewBBSucc, ND
) &&
+ DT.isReachableFromEntry(N
D
)) {
NewBBDominatesNewBBSucc = false;
break;
}