mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Merge pull request #4836 from roc-lang/intern-layouts-2
Intern list element layouts and thread mut layout interner through LLVM backend
This commit is contained in:
commit
ea53a50447
24 changed files with 1482 additions and 670 deletions
|
@ -716,7 +716,7 @@ pub fn expect_mono_module_to_dylib<'a>(
|
|||
toplevel_expects,
|
||||
procedures,
|
||||
interns,
|
||||
layout_interner,
|
||||
mut layout_interner,
|
||||
..
|
||||
} = loaded;
|
||||
|
||||
|
@ -735,7 +735,6 @@ pub fn expect_mono_module_to_dylib<'a>(
|
|||
// Compile and add all the Procs before adding main
|
||||
let env = roc_gen_llvm::llvm::build::Env {
|
||||
arena,
|
||||
layout_interner: &layout_interner,
|
||||
builder: &builder,
|
||||
dibuilder: &dibuilder,
|
||||
compile_unit: &compile_unit,
|
||||
|
@ -760,8 +759,9 @@ pub fn expect_mono_module_to_dylib<'a>(
|
|||
|
||||
let expect_names = roc_gen_llvm::llvm::build::build_procedures_expose_expects(
|
||||
&env,
|
||||
&mut layout_interner,
|
||||
opt_level,
|
||||
&expect_symbols,
|
||||
expect_symbols.into_bump_slice(),
|
||||
procedures,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue