mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-22 00:09:33 +03:00
fix another merge conflict
This commit is contained in:
parent
be214b7931
commit
d222be95b3
@ -1301,7 +1301,7 @@ fn build_box_eq<'a, 'ctx, 'env>(
|
||||
let function = match env.module.get_function(fn_name.as_str()) {
|
||||
Some(function_value) => function_value,
|
||||
None => {
|
||||
let arg_type = basic_type_from_layout_1(env, box_layout);
|
||||
let arg_type = basic_type_from_layout(env, box_layout);
|
||||
|
||||
let function_value = crate::llvm::refcounting::build_header_help(
|
||||
env,
|
||||
|
@ -35,7 +35,7 @@ pub fn basic_type_from_layout<'a, 'ctx, 'env>(
|
||||
} => basic_type_from_record(env, sorted_fields),
|
||||
LambdaSet(lambda_set) => basic_type_from_layout(env, &lambda_set.runtime_representation()),
|
||||
Boxed(inner_layout) => {
|
||||
let inner_type = basic_type_from_layout_1(env, inner_layout);
|
||||
let inner_type = basic_type_from_layout(env, inner_layout);
|
||||
|
||||
inner_type.ptr_type(AddressSpace::Generic).into()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user