Remove unused method - getIDomBlock().
authorDevang Patel <dpatel@apple.com>
Wed, 4 Jul 2007 01:11:19 +0000 (01:11 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 4 Jul 2007 01:11:19 +0000 (01:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37865 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/Dominators.h

index 4659a4ec793fc128d29cf8064f8bab1e9938df77..f0b4672431b36eea9ef70f32f081e621df0b993c 100644 (file)
@@ -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