nac3core: add missing llvm range type

This commit is contained in:
ychenfo 2021-12-09 01:13:34 +08:00
parent d2ffdeeb47
commit 01d3249646
1 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,10 @@ pub fn gen_func<'ctx, G: CodeGenerator + ?Sized>(
unifier.get_representative(primitives.str), unifier.get_representative(primitives.str),
context.i8_type().ptr_type(AddressSpace::Generic).into(), context.i8_type().ptr_type(AddressSpace::Generic).into(),
), ),
(
unifier.get_representative(primitives.range),
context.i32_type().array_type(3).ptr_type(AddressSpace::Generic).into()
),
] ]
.iter() .iter()
.cloned() .cloned()