forked from M-Labs/nac3
1
0
Fork 0

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),
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()
.cloned()