s/DominatorTree::createNewNode/DominatorTree::addNewBlock/g

llvm-svn: 37415
This commit is contained in:
Devang Patel
2007-06-04 16:43:25 +00:00
parent a89566aefd
commit ebc5b96735
4 changed files with 9 additions and 11 deletions

View File

@@ -143,7 +143,7 @@ void CodeExtractor::severSplitPHINodes(BasicBlock *&Header) {
// blocks that dominate TIBB plus the new block itself.
if (EF) {
BasicBlock* idom = EF->getIDom(OldPred);
DT->createNewNode(NewBB, idom);
DT->addNewBlock(NewBB, idom);
EF->addNewBlock(NewBB, idom);
// Additionally, NewBB replaces OldPred as the immediate dominator of blocks