mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185512 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -5896,7 +5896,7 @@ void SelectionDAG::TransferDbgValues(SDValue From, SDValue To) {
|
||||
ClonedDVs.push_back(Clone);
|
||||
}
|
||||
}
|
||||
for (SmallVector<SDDbgValue *, 2>::iterator I = ClonedDVs.begin(),
|
||||
for (SmallVectorImpl<SDDbgValue *>::iterator I = ClonedDVs.begin(),
|
||||
E = ClonedDVs.end(); I != E; ++I)
|
||||
AddDbgValue(*I, ToNode, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user