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:
64b5fb2
)
Gep indices must be of int, uint, long or ulong type.
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Thu, 28 Oct 2004 06:43:38 +0000
(06:43 +0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Thu, 28 Oct 2004 06:43:38 +0000
(06:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Constants.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Constants.cpp
b/lib/VMCore/Constants.cpp
index bf6332b44c7c4a0ee0ba488be693fcd888655938..b5831ae26ea9e6a8f9dd45f6750f036532e195d0 100644
(file)
--- a/
lib/VMCore/Constants.cpp
+++ b/
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::U
Byte
Ty, 1))),
+ std::vector<Constant*>(1, ConstantInt::get(Type::U
Int
Ty, 1))),
Type::UIntTy);
}