mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Wrap a long line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4d050d7321
commit
1ede29c951
@ -541,7 +541,8 @@ uint64_t TargetData::getIndexedOffset(const Type *ptrTy, Value* const* Indices,
|
||||
TI = gep_type_begin(ptrTy, Indices, Indices+NumIndices);
|
||||
for (unsigned CurIDX = 0; CurIDX != NumIndices; ++CurIDX, ++TI) {
|
||||
if (const StructType *STy = dyn_cast<StructType>(*TI)) {
|
||||
assert(Indices[CurIDX]->getType() == Type::Int32Ty &&"Illegal struct idx");
|
||||
assert(Indices[CurIDX]->getType() == Type::Int32Ty &&
|
||||
"Illegal struct idx");
|
||||
unsigned FieldNo = cast<ConstantInt>(Indices[CurIDX])->getZExtValue();
|
||||
|
||||
// Get structure layout information...
|
||||
|
Loading…
x
Reference in New Issue
Block a user