mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185606 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -277,8 +277,8 @@ void CodeExtractor::splitReturnBlocks() {
|
||||
|
||||
DomTreeNode *NewNode = DT->addNewBlock(New, *I);
|
||||
|
||||
for (SmallVector<DomTreeNode*, 8>::iterator I = Children.begin(),
|
||||
E = Children.end(); I != E; ++I)
|
||||
for (SmallVectorImpl<DomTreeNode *>::iterator I = Children.begin(),
|
||||
E = Children.end(); I != E; ++I)
|
||||
DT->changeImmediateDominator(*I, NewNode);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user