mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Push the layout interner through the backends
This commit is contained in:
parent
c5466810a4
commit
ed04c2040a
11 changed files with 34 additions and 14 deletions
|
@ -95,6 +95,7 @@ fn create_llvm_module<'a>(
|
|||
procedures,
|
||||
entry_point,
|
||||
interns,
|
||||
layout_interner,
|
||||
..
|
||||
} = loaded;
|
||||
|
||||
|
@ -211,6 +212,7 @@ fn create_llvm_module<'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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue