[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Oct 27 23:43:48 PDT 2004
Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.110 -> 1.111
---
Log message:
Gep indices must be of int, uint, long or ulong type.
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/Constants.cpp
diff -u llvm/lib/VMCore/Constants.cpp:1.110 llvm/lib/VMCore/Constants.cpp:1.111
--- llvm/lib/VMCore/Constants.cpp:1.110 Sat Oct 23 22:02:16 2004
+++ llvm/lib/VMCore/Constants.cpp Thu Oct 28 01:43:38 2004
@@ -1249,7 +1249,7 @@
return getCast(
getGetElementPtr(
getNullValue(PointerType::get(Ty)),
- std::vector<Constant*>(1, ConstantInt::get(Type::UByteTy, 1))),
+ std::vector<Constant*>(1, ConstantInt::get(Type::UIntTy, 1))),
Type::UIntTy);
}
More information about the llvm-commits
mailing list