aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/PostDominators.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-10-16 19:59:25 +0000
committerOwen Anderson <resistor@mac.com>2007-10-16 19:59:25 +0000
commit49b653aa6aaaed17be1c611c5722b5b9ff31a905 (patch)
tree80d22cb7c4edab6dcb3f4b0142a484af833df8c3 /lib/Analysis/PostDominators.cpp
parentdcd8f78f8a84b7d6d2d1b67fc64672e4504c0434 (diff)
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 'lib/Analysis/PostDominators.cpp')
-rw-r--r--lib/Analysis/PostDominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp
index f066f7ae52..0384fad732 100644
--- a/lib/Analysis/PostDominators.cpp
+++ b/lib/Analysis/PostDominators.cpp
@@ -47,7 +47,7 @@ bool PostDominatorTree::runOnFunction(Function &F) {
Vertex.push_back(0);
- Calculate<Inverse<BasicBlock*> >(*this, F);
+ Calculate<Inverse<BasicBlock*>, GraphTraits<Inverse<BasicBlock*> > >(*this, F);
return false;
}