diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-21 23:07:00 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-21 23:07:00 +0000 |
commit | d8cc7be0262092882d848a1c7d8a4cb6752cce6f (patch) | |
tree | 750773301710bd6fa4184b6da9f5daa9dc8c143d /lib/Analysis/PostDominators.cpp | |
parent | 917290043f87b8efa6ba540bec5963013c517912 (diff) |
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109058 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 51eb145258..cbe8d1867e 100644 --- a/lib/Analysis/PostDominators.cpp +++ b/lib/Analysis/PostDominators.cpp @@ -53,8 +53,8 @@ FunctionPass* llvm::createPostDomTree() { // PostDominanceFrontier Implementation //===----------------------------------------------------------------------===// -static RegisterPass<PostDominanceFrontier> -H("postdomfrontier", "Post-Dominance Frontier Construction", true, true); +INITIALIZE_PASS(PostDominanceFrontier, "postdomfrontier", + "Post-Dominance Frontier Construction", true, true); const DominanceFrontier::DomSetType & PostDominanceFrontier::calculate(const PostDominatorTree &DT, |