Remove inherent methods from llvm::Type

This commit is contained in:
Zalathar
2025-10-04 17:54:03 +10:00
parent 0661a3d6fe
commit 3831b60ef3
4 changed files with 17 additions and 17 deletions

View File

@@ -740,7 +740,7 @@ impl<'ll> SimpleCx<'ll> {
llcx: &'ll llvm::Context,
pointer_size: Size,
) -> Self {
let isize_ty = llvm::Type::ix_llcx(llcx, pointer_size.bits());
let isize_ty = llvm::LLVMIntTypeInContext(llcx, pointer_size.bits() as c_uint);
Self(SCx { llmod, llcx, isize_ty }, PhantomData)
}
}