mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
fix warnings from deprecated llvm ptr type
This commit is contained in:
parent
8090e99e75
commit
1519e5f833
11 changed files with 109 additions and 218 deletions
|
@ -75,8 +75,7 @@ pub(crate) fn add_intrinsics<'ctx>(ctx: &'ctx Context, module: &Module<'ctx>) {
|
|||
//
|
||||
// https://releases.llvm.org/10.0.0/docs/LangRef.html#standard-c-library-intrinsics
|
||||
let i1_type = ctx.bool_type();
|
||||
let i8_type = ctx.i8_type();
|
||||
let i8_ptr_type = i8_type.ptr_type(AddressSpace::default());
|
||||
let i8_ptr_type = ctx.ptr_type(AddressSpace::default());
|
||||
let i32_type = ctx.i32_type();
|
||||
let void_type = ctx.void_type();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue