mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
Convert gep_type_begin and gep_type_end to use ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -528,7 +528,7 @@ uint64_t TargetData::getIndexedOffset(Type *ptrTy,
|
||||
uint64_t Result = 0;
|
||||
|
||||
generic_gep_type_iterator<Value* const*>
|
||||
TI = gep_type_begin(ptrTy, Indices.begin(), Indices.end());
|
||||
TI = gep_type_begin(ptrTy, Indices);
|
||||
for (unsigned CurIDX = 0, EndIDX = Indices.size(); CurIDX != EndIDX;
|
||||
++CurIDX, ++TI) {
|
||||
if (StructType *STy = dyn_cast<StructType>(*TI)) {
|
||||
|
Reference in New Issue
Block a user