diff options
author | Devang Patel <dpatel@apple.com> | 2007-07-04 01:11:19 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-07-04 01:11:19 +0000 |
commit | bef204db6fc6b2e69f93f23f644617a3c01968aa (patch) | |
tree | d65a93f816747726f5452d2bbc47b9f72ed86907 /include/llvm/Analysis/Dominators.h | |
parent | dc42bc3baf15b227882ab21a501149d3301b294d (diff) | |
download | external_llvm-bef204db6fc6b2e69f93f23f644617a3c01968aa.zip external_llvm-bef204db6fc6b2e69f93f23f644617a3c01968aa.tar.gz external_llvm-bef204db6fc6b2e69f93f23f644617a3c01968aa.tar.bz2 |
Remove unused method - getIDomBlock().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 4659a4e..f0b4672 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -149,16 +149,6 @@ protected: return getNode(BB); } - /// getIDomBlock - return basic block BB's immediate dominator basic block. - /// - BasicBlock *getIDomBlock(BasicBlock *BB) { - DomTreeNode *N = getNode(BB); - assert (N && "Missing dominator tree node"); - DomTreeNode *I = N->getIDom(); - assert (I && "Missing immediate dominator"); - return I->getBlock(); - } - /// getRootNode - This returns the entry node for the CFG of the function. If /// this tree represents the post-dominance relations for a function, however, /// this root may be a node with the block == NULL. This is the case when |