mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fixed post dominator frontiers! Yaay!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0908309e3c
commit
3590830cef
@ -358,7 +358,7 @@ cfg::DominanceFrontier::calcPostDomFrontier(const DominatorTree &DT,
|
||||
for (DominatorTree::Node::const_iterator NI = Node->begin(), NE = Node->end();
|
||||
NI != NE; ++NI) {
|
||||
DominatorTree::Node *IDominee = *NI;
|
||||
const DomSetType &ChildDF = calcDomFrontier(DT, IDominee);
|
||||
const DomSetType &ChildDF = calcPostDomFrontier(DT, IDominee);
|
||||
|
||||
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
|
||||
for (; CDFI != CDFE; ++CDFI) {
|
||||
|
@ -358,7 +358,7 @@ cfg::DominanceFrontier::calcPostDomFrontier(const DominatorTree &DT,
|
||||
for (DominatorTree::Node::const_iterator NI = Node->begin(), NE = Node->end();
|
||||
NI != NE; ++NI) {
|
||||
DominatorTree::Node *IDominee = *NI;
|
||||
const DomSetType &ChildDF = calcDomFrontier(DT, IDominee);
|
||||
const DomSetType &ChildDF = calcPostDomFrontier(DT, IDominee);
|
||||
|
||||
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
|
||||
for (; CDFI != CDFE; ++CDFI) {
|
||||
|
Loading…
Reference in New Issue
Block a user