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:
parent
7a7ddef47e
commit
223ea549d1
@ -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