diff options
author | Owen Anderson <resistor@mac.com> | 2008-05-29 17:00:13 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-05-29 17:00:13 +0000 |
commit | 5771d6c16d71dc3bba59b88592686c76f07f4721 (patch) | |
tree | 7f796d3a895131fa0115faec427669b372b8979e /lib/Analysis | |
parent | 8cacfebb8e84e559429bd76ee41ff89c4b6589ed (diff) |
Force postdom to be linked into opt and bugpoint, even though it is no longer used by any passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/PostDominators.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp index cfa1b46329..3d3713b11d 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -42,6 +42,10 @@ PostDominatorTree::~PostDominatorTree() delete DT; } +FunctionPass* llvm::createPostDomTree() { + return new PostDominatorTree(); +} + //===----------------------------------------------------------------------===// // PostDominanceFrontier Implementation //===----------------------------------------------------------------------===// @@ -84,3 +88,7 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT, return S; } + +FunctionPass* llvm::createPostDomFrontier() { + return new PostDominanceFrontier(); +}
\ No newline at end of file |