mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-16 02:09:14 +00:00
Remove unused method - getIDomBlock().
llvm-svn: 37865
This commit is contained in:
parent
6e6a5c1893
commit
7d791bb10c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user