summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4187801f85e781078508be4eea1485deac93383c (patch)
tree9a1610ec58caa9b917e6711a6b37dd9edd04976b /llvm/lib/Analysis/PostDominators.cpp
parentfab7ca89d590a2dd6b54c3e5cd400f5b4c713d05 (diff)
downloadbcm5719-llvm-4187801f85e781078508be4eea1485deac93383c.tar.gz
bcm5719-llvm-4187801f85e781078508be4eea1485deac93383c.zip
Template DominatorTreeBase by node type. This is the next major step towards
having dominator information on MBB's. llvm-svn: 43036
Diffstat (limited to 'llvm/lib/Analysis/PostDominators.cpp')
-rw-r--r--llvm/lib/Analysis/PostDominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp
index f066f7ae525..0384fad732e 100644
--- a/llvm/lib/Analysis/PostDominators.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud