wasm: Generate code for List.map call (incomplete)

This commit is contained in:
Brian Carroll 2022-03-28 23:39:08 +01:00
parent ff9bbfab63
commit 83cae16a60
4 changed files with 91 additions and 15 deletions

View file

@ -381,7 +381,8 @@ impl<'a> Storage<'a> {
}
}
fn load_symbol_zig(&mut self, code_builder: &mut CodeBuilder, arg: Symbol) {
// TODO: expose something higher level instead, shared among higher-order calls
pub fn load_symbol_zig(&mut self, code_builder: &mut CodeBuilder, arg: Symbol) {
if let StoredValue::StackMemory {
location,
size,