mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
use toplevelfunctionlayout in refcount insertion
This commit is contained in:
parent
b6f0a3f693
commit
94cbb103ef
4 changed files with 67 additions and 30 deletions
|
@ -245,9 +245,6 @@ fn layout_for_constructor<'a>(
|
|||
HasFields(fields)
|
||||
}
|
||||
Closure(_arguments, _lambda_set, _result) => {
|
||||
// TODO can this be improved again?
|
||||
// let fpointer = Layout::FunctionPointer(arguments, result);
|
||||
// let fields = arena.alloc([fpointer, *lambda_set.layout]);
|
||||
// HasFields(fields)
|
||||
ConstructorLayout::Unknown
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue