mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
thread through an updatemodeids
This commit is contained in:
parent
cfa331be02
commit
8c3a00f7aa
3 changed files with 46 additions and 37 deletions
|
@ -393,11 +393,19 @@ impl<'a> Proc<'a> {
|
|||
arena: &'a Bump,
|
||||
home: ModuleId,
|
||||
ident_ids: &'i mut IdentIds,
|
||||
update_mode_ids: &'i mut UpdateModeIds,
|
||||
procs: &mut MutMap<(Symbol, ProcLayout<'a>), Proc<'a>>,
|
||||
) {
|
||||
let borrow_params = arena.alloc(crate::borrow::infer_borrow(arena, procs));
|
||||
|
||||
crate::inc_dec::visit_procs(arena, home, ident_ids, borrow_params, procs);
|
||||
crate::inc_dec::visit_procs(
|
||||
arena,
|
||||
home,
|
||||
ident_ids,
|
||||
update_mode_ids,
|
||||
borrow_params,
|
||||
procs,
|
||||
);
|
||||
}
|
||||
|
||||
pub fn insert_reset_reuse_operations<'i>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue