mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Remove Cell around interns
This commit is contained in:
parent
a7725a81d5
commit
8c6e5360cd
5 changed files with 162 additions and 156 deletions
|
@ -529,7 +529,7 @@ fn gen_from_mono_module_dev_assembly(
|
|||
let MonomorphizedModule {
|
||||
module_id,
|
||||
procedures,
|
||||
interns,
|
||||
mut interns,
|
||||
exposed_to_host,
|
||||
..
|
||||
} = loaded;
|
||||
|
@ -537,13 +537,12 @@ fn gen_from_mono_module_dev_assembly(
|
|||
let env = roc_gen_dev::Env {
|
||||
arena,
|
||||
module_id,
|
||||
interns: std::cell::Cell::new(interns),
|
||||
exposed_to_host: exposed_to_host.keys().copied().collect(),
|
||||
lazy_literals,
|
||||
generate_allocators,
|
||||
};
|
||||
|
||||
let module_object = roc_gen_dev::build_module(&env, target, procedures);
|
||||
let module_object = roc_gen_dev::build_module(&env, &mut interns, target, procedures);
|
||||
|
||||
let module_out = module_object
|
||||
.write()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue