wasm: fix WasmLayout for LambdaSet

This commit is contained in:
Brian Carroll 2022-04-03 00:23:32 +01:00
parent a63e55e023
commit ab3a75b754
2 changed files with 6 additions and 5 deletions

View file

@ -86,9 +86,10 @@ impl WasmLayout {
format: StackMemoryFormat::Decimal,
},
Layout::LambdaSet(lambda_set) => WasmLayout::new(&lambda_set.runtime_representation()),
Layout::Builtin(Str | Dict(_, _) | Set(_) | List(_))
| Layout::Struct { .. }
| Layout::LambdaSet(_)
| Layout::Union(NonRecursive(_)) => Self::StackMemory {
size,
alignment_bytes,