mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Do not make LayoutInterner mutable
This commit is contained in:
parent
c81a652aaa
commit
41597cbab7
12 changed files with 146 additions and 146 deletions
|
@ -99,7 +99,7 @@ fn create_llvm_module<'a>(
|
|||
let MonomorphizedModule {
|
||||
procedures,
|
||||
interns,
|
||||
mut layout_interner,
|
||||
layout_interner,
|
||||
..
|
||||
} = loaded;
|
||||
|
||||
|
@ -257,14 +257,14 @@ fn create_llvm_module<'a>(
|
|||
LlvmBackendMode::CliTest => unreachable!(),
|
||||
LlvmBackendMode::WasmGenTest => roc_gen_llvm::llvm::build::build_wasm_test_wrapper(
|
||||
&env,
|
||||
&mut layout_interner,
|
||||
&layout_interner,
|
||||
config.opt_level,
|
||||
procedures,
|
||||
entry_point,
|
||||
),
|
||||
LlvmBackendMode::GenTest => roc_gen_llvm::llvm::build::build_procedures_return_main(
|
||||
&env,
|
||||
&mut layout_interner,
|
||||
&layout_interner,
|
||||
config.opt_level,
|
||||
procedures,
|
||||
entry_point,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue