aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Dominators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-08 05:54:09 +0000
committerChris Lattner <sabre@nondot.org>2001-07-08 05:54:09 +0000
commit3590830cef7fcc4da262d3f3c329fae44c589374 (patch)
tree06637b1d5d991ba6ecde846f7deee6e64ecc30bb /lib/VMCore/Dominators.cpp
parent0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9 (diff)
downloadexternal_llvm-3590830cef7fcc4da262d3f3c329fae44c589374.zip
external_llvm-3590830cef7fcc4da262d3f3c329fae44c589374.tar.gz
external_llvm-3590830cef7fcc4da262d3f3c329fae44c589374.tar.bz2
Fixed post dominator frontiers! Yaay!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r--lib/VMCore/Dominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp
index c9e15f4..14ed6c8 100644
--- a/lib/VMCore/Dominators.cpp
+++ b/lib/VMCore/Dominators.cpp
@@ -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) {