Boxed skeleton

This commit is contained in:
Folkert 2021-07-12 17:01:53 +02:00
parent 7be0349eee
commit 09f01ba193
8 changed files with 31 additions and 1 deletions

View file

@ -79,6 +79,14 @@ pub fn basic_type_from_layout<'a, 'ctx, 'env>(
.as_basic_type_enum()
}
Boxed(_) => {
// TODO make this dynamic
env.context
.i64_type()
.ptr_type(AddressSpace::Generic)
.as_basic_type_enum()
}
Builtin(builtin) => basic_type_from_builtin(env, builtin),
}
}