mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove more default address space argument usage.
These places are inconsequential in practice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1793,7 +1793,7 @@ Constant *ConstantExpr::getAlignOf(Type* Ty) {
|
||||
// Note that a non-inbounds gep is used, as null isn't within any object.
|
||||
Type *AligningTy =
|
||||
StructType::get(Type::getInt1Ty(Ty->getContext()), Ty, NULL);
|
||||
Constant *NullPtr = Constant::getNullValue(AligningTy->getPointerTo());
|
||||
Constant *NullPtr = Constant::getNullValue(AligningTy->getPointerTo(0));
|
||||
Constant *Zero = ConstantInt::get(Type::getInt64Ty(Ty->getContext()), 0);
|
||||
Constant *One = ConstantInt::get(Type::getInt32Ty(Ty->getContext()), 1);
|
||||
Constant *Indices[2] = { Zero, One };
|
||||
|
Reference in New Issue
Block a user