diff --git a/compiler/gen/src/llvm/build.rs b/compiler/gen/src/llvm/build.rs index f0aea56c81..1fa5f25bd7 100644 --- a/compiler/gen/src/llvm/build.rs +++ b/compiler/gen/src/llvm/build.rs @@ -79,11 +79,6 @@ impl<'a, 'ctx> Scope<'a, 'ctx> { */ } -pub struct RcFunctions<'ctx> { - inc: FunctionValue<'ctx>, - dec: FunctionValue<'ctx>, -} - pub struct Env<'a, 'ctx, 'env> { pub arena: &'a Bump, pub context: &'ctx Context, @@ -93,7 +88,6 @@ pub struct Env<'a, 'ctx, 'env> { pub ptr_bytes: u32, pub leak: bool, pub exposed_to_host: MutSet, - pub rc_functions: MutMap, RcFunctions<'ctx>>, } impl<'a, 'ctx, 'env> Env<'a, 'ctx, 'env> { diff --git a/compiler/gen/tests/helpers/eval.rs b/compiler/gen/tests/helpers/eval.rs index 8886e96e94..3c15c60009 100644 --- a/compiler/gen/tests/helpers/eval.rs +++ b/compiler/gen/tests/helpers/eval.rs @@ -90,7 +90,6 @@ pub fn helper_without_uniqueness<'a>( ptr_bytes, leak: leak, exposed_to_host: MutSet::default(), - rc_functions: MutMap::default(), }; let mut procs = roc_mono::ir::Procs::default(); let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap(); @@ -285,7 +284,6 @@ pub fn helper_with_uniqueness<'a>( ptr_bytes, leak: leak, exposed_to_host: MutSet::default(), - rc_functions: MutMap::default(), }; let mut procs = roc_mono::ir::Procs::default(); let mut ident_ids = env.interns.all_ident_ids.remove(&home).unwrap();