projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d050d7
)
Wrap a long line.
author
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 19:48:16 +0000
(19:48 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Thu, 1 Mar 2007 19:48:16 +0000
(19:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34799
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/TargetData.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/TargetData.cpp
b/lib/Target/TargetData.cpp
index 16ff6bf1887175035355148b5dad81ddbd4429a3..dfa6d2a283a20fcaa899c1091eb8f745f19b90c0 100644
(file)
--- a/
lib/Target/TargetData.cpp
+++ b/
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...