Integrate refcount proc generator with Wasm backend

This commit is contained in:
Brian Carroll 2021-11-27 09:13:50 +00:00
parent 61575cea7e
commit 2ad032f894
5 changed files with 60 additions and 55 deletions

View file

@ -473,7 +473,7 @@ impl<'a> WasmBackend<'a> {
let (rc_stmt, new_proc_info) = self
.refcount_proc_gen
.call_refcount_proc(layout, modify, *following);
.expand_refcount_stmt_to_proc_call(layout, modify, *following);
// If we're creating a new RC procedure, we need to store its symbol data,
// so that we can correctly generate calls to it.