summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-01 19:48:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-01 19:48:16 +0000
commitdf30e2a68b83857aca93ddc2224e1f73628d0f63 (patch)
treed7a81d7e14282354967d4c884fa454754d5b2951 /llvm/lib
parentb9730471479cc4642d45f2077cbdf682699bca18 (diff)
downloadbcm5719-llvm-df30e2a68b83857aca93ddc2224e1f73628d0f63.tar.gz
bcm5719-llvm-df30e2a68b83857aca93ddc2224e1f73628d0f63.zip
Wrap a long line.
llvm-svn: 34799
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/TargetData.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp
index 16ff6bf1887..dfa6d2a283a 100644
--- a/llvm/lib/Target/TargetData.cpp
+++ b/llvm/lib/Target/TargetData.cpp
@@ -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...
OpenPOWER on IntegriCloud