mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
This commit is contained in:
commit
346248a7c0
8 changed files with 57 additions and 63 deletions
|
@ -1,4 +1,3 @@
|
|||
use crate::layout_id::LayoutIds;
|
||||
use crate::llvm::build::{
|
||||
cast_basic_basic, cast_struct_struct, create_entry_block_alloca, set_name, Env, Scope,
|
||||
FAST_CALL_CONV, LLVM_SADD_WITH_OVERFLOW_I64,
|
||||
|
@ -12,7 +11,7 @@ use inkwell::module::Linkage;
|
|||
use inkwell::values::{BasicValueEnum, FunctionValue, IntValue, PointerValue, StructValue};
|
||||
use inkwell::{AddressSpace, IntPredicate};
|
||||
use roc_module::symbol::Symbol;
|
||||
use roc_mono::layout::{Builtin, Layout, MemoryMode};
|
||||
use roc_mono::layout::{Builtin, Layout, LayoutIds, MemoryMode};
|
||||
|
||||
pub const REFCOUNT_MAX: usize = 0 as usize;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue