[llvm-commits] [SignlessTypes] CVS: llvm/lib/Transforms/TransformInternals.cpp

Reid Spencer reid at x10sys.com
Fri Oct 20 00:34:09 PDT 2006



Changes in directory llvm/lib/Transforms:

TransformInternals.cpp updated: 1.50.8.1 -> 1.50.8.2
---
Log message:

The forgotten patches. These should have been committed and tagged with the
ST_iter_1 tag, but they weren't, so we're commiting them now.


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

 TransformInternals.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/TransformInternals.cpp
diff -u llvm/lib/Transforms/TransformInternals.cpp:1.50.8.1 llvm/lib/Transforms/TransformInternals.cpp:1.50.8.2
--- llvm/lib/Transforms/TransformInternals.cpp:1.50.8.1	Wed Oct 18 22:57:56 2006
+++ llvm/lib/Transforms/TransformInternals.cpp	Fri Oct 20 02:33:53 2006
@@ -34,7 +34,7 @@
          (i == SL->MemberOffsets.size()-1 || Offset < SL->MemberOffsets[i+1]));
 
   // Make sure to save the current index...
-  Indices.push_back(ConstantInt::get(Type::UIntTy, uint32_t(i)));
+  Indices.push_back(ConstantInt::get(Type::UIntTy, i));
   Offset = SL->MemberOffsets[i];
   return STy->getContainedType(i);
 }






More information about the llvm-commits mailing list