mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
remove dict/set layout
This commit is contained in:
parent
5aef349f09
commit
4d55b756bb
16 changed files with 8 additions and 321 deletions
|
|
@ -18,7 +18,7 @@ pub enum ReturnMethod {
|
|||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub enum StackMemoryFormat {
|
||||
/// Record, Str, List, Dict, etc.
|
||||
/// Record, Str, List, etc.
|
||||
DataStructure,
|
||||
Int128,
|
||||
Float128,
|
||||
|
|
@ -87,7 +87,7 @@ impl WasmLayout {
|
|||
|
||||
Layout::LambdaSet(lambda_set) => WasmLayout::new(&lambda_set.runtime_representation()),
|
||||
|
||||
Layout::Builtin(Str | Dict(_, _) | Set(_) | List(_))
|
||||
Layout::Builtin(Str | List(_))
|
||||
| Layout::Struct { .. }
|
||||
| Layout::Union(NonRecursive(_)) => Self::StackMemory {
|
||||
size,
|
||||
|
|
|
|||
|
|
@ -1824,7 +1824,7 @@ impl<'a> LowLevelCall<'a> {
|
|||
backend.code_builder.i32_const(!invert_result as i32);
|
||||
}
|
||||
|
||||
Layout::Builtin(Builtin::Dict(_, _) | Builtin::Set(_) | Builtin::List(_))
|
||||
Layout::Builtin(Builtin::List(_))
|
||||
| Layout::Struct { .. }
|
||||
| Layout::Union(_)
|
||||
| Layout::LambdaSet(_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue