mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Gep indices must be of int, uint, long or ulong type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
64b5fb2627
commit
56a2468b68
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user