mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
remove field from procs; pass separately
This commit is contained in:
parent
8df810fe0c
commit
f0070e7464
2 changed files with 10 additions and 9 deletions
|
@ -3798,14 +3798,15 @@ fn make_specializations<'a>(
|
|||
ptr_bytes,
|
||||
};
|
||||
|
||||
procs
|
||||
.externals_others_need
|
||||
.extend(specializations_we_must_make);
|
||||
|
||||
// TODO: for now this final specialization pass is sequential,
|
||||
// with no parallelization at all. We should try to parallelize
|
||||
// this, but doing so will require a redesign of Procs.
|
||||
procs = roc_mono::ir::specialize_all(&mut mono_env, procs, &mut layout_cache);
|
||||
procs = roc_mono::ir::specialize_all(
|
||||
&mut mono_env,
|
||||
procs,
|
||||
specializations_we_must_make,
|
||||
&mut layout_cache,
|
||||
);
|
||||
|
||||
let external_specializations_requested = procs.externals_we_need.clone();
|
||||
let procedures = procs.get_specialized_procs_without_rc(mono_env.arena);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue