mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
remove Boxed layout
This commit is contained in:
parent
d64930c17f
commit
6d2d65bb1e
24 changed files with 52 additions and 1377 deletions
|
@ -2097,7 +2097,6 @@ impl<'a> LowLevelCall<'a> {
|
|||
| LayoutRepr::Struct { .. }
|
||||
| LayoutRepr::Union(_)
|
||||
| LayoutRepr::LambdaSet(_)
|
||||
| LayoutRepr::Boxed(_)
|
||||
| LayoutRepr::Ptr(_) => {
|
||||
// Don't want Zig calling convention here, we're calling internal Roc functions
|
||||
backend
|
||||
|
@ -2518,7 +2517,7 @@ pub fn call_higher_order_lowlevel<'a>(
|
|||
argument_layouts.iter().take(n_non_closure_args).map(|lay| {
|
||||
backend
|
||||
.layout_interner
|
||||
.insert_direct_no_semantic(LayoutRepr::Boxed(*lay))
|
||||
.insert_direct_no_semantic(LayoutRepr::Ptr(*lay))
|
||||
});
|
||||
|
||||
wrapper_arg_layouts.push(wrapped_captures_layout);
|
||||
|
@ -2530,7 +2529,7 @@ pub fn call_higher_order_lowlevel<'a>(
|
|||
wrapper_arg_layouts.push(
|
||||
backend
|
||||
.layout_interner
|
||||
.insert_direct_no_semantic(LayoutRepr::Boxed(*result_layout)),
|
||||
.insert_direct_no_semantic(LayoutRepr::Ptr(*result_layout)),
|
||||
);
|
||||
ProcLayout {
|
||||
arguments: wrapper_arg_layouts.into_bump_slice(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue