mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
wasm: Generate code for List.map call (incomplete)
This commit is contained in:
parent
ff9bbfab63
commit
83cae16a60
4 changed files with 91 additions and 15 deletions
|
@ -47,8 +47,7 @@ impl WasmLayout {
|
|||
use UnionLayout::*;
|
||||
use ValueType::*;
|
||||
|
||||
let size = layout.stack_size(TARGET_INFO);
|
||||
let alignment_bytes = layout.alignment_bytes(TARGET_INFO);
|
||||
let (size, alignment_bytes) = layout.stack_size_and_alignment(TARGET_INFO);
|
||||
|
||||
match layout {
|
||||
Layout::Builtin(Int(int_width)) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue