Wrap a long line.

llvm-svn: 34799
This commit is contained in:
Reid Spencer 2007-03-01 19:48:16 +00:00
parent b973047147
commit df30e2a68b
1 changed files with 2 additions and 1 deletions

View File

@ -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...