diff options
author | Owen Anderson <resistor@mac.com> | 2007-10-03 21:25:45 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-10-03 21:25:45 +0000 |
commit | 9cb7f49ee9d8c77f5ae82e36befde2b3094fdd02 (patch) | |
tree | a16682ccafa8412bcc9b98478298877bf47259ba /lib/Analysis/PostDominators.cpp | |
parent | 9c8a9af5afb5459fb7949d4468c5a2abe02baf2c (diff) |
Completely merge the implementation details of DomTree and PostDomTree.
Also, add a FIXME for a bug in PostDomTree calculation I noticed while writing this,
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PostDominators.cpp')
-rw-r--r-- | lib/Analysis/PostDominators.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index 0ca7388231..f066f7ae52 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -16,7 +16,7 @@ #include "llvm/Support/CFG.h" #include "llvm/ADT/DepthFirstIterator.h" #include "llvm/ADT/SetOperations.h" -#include "PostDominatorCalculation.h" +#include "llvm/Analysis/DominatorInternals.h" using namespace llvm; //===----------------------------------------------------------------------===// @@ -47,7 +47,7 @@ bool PostDominatorTree::runOnFunction(Function &F) { Vertex.push_back(0); - PDTcalculate(*this, F); + Calculate<Inverse<BasicBlock*> >(*this, F); return false; } |