mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
remove Boxed layout
This commit is contained in:
parent
d64930c17f
commit
6d2d65bb1e
24 changed files with 52 additions and 1377 deletions
|
@ -571,11 +571,6 @@ impl<'a> CodeGenHelp<'a> {
|
|||
return layout;
|
||||
}
|
||||
|
||||
LayoutRepr::Boxed(inner) => {
|
||||
let inner = self.replace_rec_ptr(ctx, layout_interner, inner);
|
||||
LayoutRepr::Boxed(inner)
|
||||
}
|
||||
|
||||
LayoutRepr::Ptr(inner) => {
|
||||
let inner = self.replace_rec_ptr(ctx, layout_interner, inner);
|
||||
LayoutRepr::Ptr(inner)
|
||||
|
@ -842,7 +837,6 @@ fn layout_needs_helper_proc<'a>(
|
|||
LayoutRepr::Union(_) => true,
|
||||
LayoutRepr::LambdaSet(_) => true,
|
||||
LayoutRepr::RecursivePointer(_) => false,
|
||||
LayoutRepr::Boxed(_) => true,
|
||||
LayoutRepr::Ptr(_) => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue