Revert "make type conversion work on 32-bit architectures"

This reverts commit 381ec9c01b.
This commit is contained in:
Folkert 2022-03-10 00:04:34 +01:00
parent 381ec9c01b
commit f8ca0694e5
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -36,7 +36,8 @@ pub fn basic_type_from_layout<'a, 'ctx, 'env>(
LambdaSet(lambda_set) => basic_type_from_layout(env, &lambda_set.runtime_representation()),
Union(union_layout) => basic_type_from_union_layout(env, union_layout),
RecursivePointer => env
.ptr_int()
.context
.i64_type()
.ptr_type(AddressSpace::Generic)
.as_basic_type_enum(),