1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Fixed post dominator frontiers! Yaay!

llvm-svn: 157
This commit is contained in:
Chris Lattner 2001-07-08 05:54:09 +00:00
parent 7a7ddef47e
commit 223ea549d1
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) {