mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Use readable debug names throughout refcount proc generator
This commit is contained in:
parent
820d9e0ab4
commit
3581c7f5be
3 changed files with 50 additions and 35 deletions
|
@ -156,6 +156,17 @@ impl<'a> WasmBackend<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn generate_refcount_procs(&mut self) -> Vec<'a, Proc<'a>> {
|
||||
let ident_ids = self
|
||||
.interns
|
||||
.all_ident_ids
|
||||
.get_mut(&self.env.module_id)
|
||||
.unwrap();
|
||||
|
||||
self.refcount_proc_gen
|
||||
.generate_refcount_procs(self.env.arena, ident_ids)
|
||||
}
|
||||
|
||||
pub fn finalize_module(mut self) -> WasmModule<'a> {
|
||||
if DEBUG_BUILD {
|
||||
let module_id = self.env.module_id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue