diff options
| author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-10-28 06:43:38 +0000 |
|---|---|---|
| committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-10-28 06:43:38 +0000 |
| commit | 23e565484ab1649129872f4969299a8bec62851b (patch) | |
| tree | 558b202a4ebf32aa4dfb4bfe7fa10b185f9b6644 /llvm/lib | |
| parent | 8eb04a7713623a5acae9975ccf0d28b3cae6f513 (diff) | |
| download | bcm5719-llvm-23e565484ab1649129872f4969299a8bec62851b.tar.gz bcm5719-llvm-23e565484ab1649129872f4969299a8bec62851b.zip | |
Gep indices must be of int, uint, long or ulong type.
llvm-svn: 17313
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index bf6332b44c7..b5831ae26ea 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/lib/VMCore/Constants.cpp @@ -1249,7 +1249,7 @@ Constant *ConstantExpr::getSizeOf(const Type *Ty) { 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); } |

