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:
Chris Lattner 2001-07-08 05:54:09 +00:00
parent 0908309e3c
commit 3590830cef
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {