From 01d3249646f91310fb611ec4196ffa0578455023 Mon Sep 17 00:00:00 2001 From: ychenfo Date: Thu, 9 Dec 2021 01:13:34 +0800 Subject: [PATCH] nac3core: add missing llvm range type --- nac3core/src/codegen/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nac3core/src/codegen/mod.rs b/nac3core/src/codegen/mod.rs index b01aaf66..3f60baf2 100644 --- a/nac3core/src/codegen/mod.rs +++ b/nac3core/src/codegen/mod.rs @@ -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()