mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
prepare for llvm 15
This commit is contained in:
parent
ee87eafdca
commit
0072192897
13 changed files with 123 additions and 139 deletions
|
@ -75,7 +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::Generic);
|
||||
let i8_ptr_type = i8_type.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