[llvm-commits] CVS: llvm/lib/Target/TargetData.cpp

Reid Spencer reid at x10sys.com
Thu Mar 1 11:48:32 PST 2007



Changes in directory llvm/lib/Target:

TargetData.cpp updated: 1.103 -> 1.104
---
Log message:

Wrap a long line.


---
Diffs of the changes:  (+2 -1)

 TargetData.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/TargetData.cpp
diff -u llvm/lib/Target/TargetData.cpp:1.103 llvm/lib/Target/TargetData.cpp:1.104
--- llvm/lib/Target/TargetData.cpp:1.103	Mon Feb 19 17:30:10 2007
+++ llvm/lib/Target/TargetData.cpp	Thu Mar  1 13:48:16 2007
@@ -541,7 +541,8 @@
     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...






More information about the llvm-commits mailing list