diff options
author | Owen Anderson <resistor@mac.com> | 2007-10-16 19:59:25 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-10-16 19:59:25 +0000 |
commit | 49b653aa6aaaed17be1c611c5722b5b9ff31a905 (patch) | |
tree | 80d22cb7c4edab6dcb3f4b0142a484af833df8c3 /include/llvm/Analysis/PostDominators.h | |
parent | dcd8f78f8a84b7d6d2d1b67fc64672e4504c0434 (diff) | |
download | external_llvm-49b653aa6aaaed17be1c611c5722b5b9ff31a905.zip external_llvm-49b653aa6aaaed17be1c611c5722b5b9ff31a905.tar.gz external_llvm-49b653aa6aaaed17be1c611c5722b5b9ff31a905.tar.bz2 |
Template DominatorTreeBase by node type. This is the next major step towards
having dominator information on MBB's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/PostDominators.h')
-rw-r--r-- | include/llvm/Analysis/PostDominators.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h index 50fe984..71b06e2 100644 --- a/include/llvm/Analysis/PostDominators.h +++ b/include/llvm/Analysis/PostDominators.h @@ -21,11 +21,11 @@ namespace llvm { /// PostDominatorTree Class - Concrete subclass of DominatorTree that is used to /// compute the a post-dominator tree. /// -struct PostDominatorTree : public DominatorTreeBase { +struct PostDominatorTree : public DominatorTreeBase<BasicBlock> { static char ID; // Pass identification, replacement for typeid PostDominatorTree() : - DominatorTreeBase((intptr_t)&ID, true) {} + DominatorTreeBase<BasicBlock>((intptr_t)&ID, true) {} virtual bool runOnFunction(Function &F); |