mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
typoes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113647 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -327,7 +327,7 @@ BasicBlock *llvm::SplitBlock(BasicBlock *Old, Instruction *SplitPt, Pass *P) {
|
||||
L->addBasicBlockToLoop(New, LI->getBase());
|
||||
|
||||
if (DominatorTree *DT = P->getAnalysisIfAvailable<DominatorTree>()) {
|
||||
// Old dominates New. New node domiantes all other nodes dominated by Old.
|
||||
// Old dominates New. New node dominates all other nodes dominated by Old.
|
||||
DomTreeNode *OldNode = DT->getNode(Old);
|
||||
std::vector<DomTreeNode *> Children;
|
||||
for (DomTreeNode::iterator I = OldNode->begin(), E = OldNode->end();
|
||||
|
@@ -186,8 +186,8 @@ void CodeExtractor::splitReturnBlocks() {
|
||||
if (ReturnInst *RI = dyn_cast<ReturnInst>((*I)->getTerminator())) {
|
||||
BasicBlock *New = (*I)->splitBasicBlock(RI, (*I)->getName()+".ret");
|
||||
if (DT) {
|
||||
// Old dominates New. New node domiantes all other nodes dominated
|
||||
//by Old.
|
||||
// Old dominates New. New node dominates all other nodes dominated
|
||||
// by Old.
|
||||
DomTreeNode *OldNode = DT->getNode(*I);
|
||||
SmallVector<DomTreeNode*, 8> Children;
|
||||
for (DomTreeNode::iterator DI = OldNode->begin(), DE = OldNode->end();
|
||||
|
Reference in New Issue
Block a user