diff --git a/compiler/gen/src/llvm/refcounting.rs b/compiler/gen/src/llvm/refcounting.rs index 8428db5020..fbe56fe4b8 100644 --- a/compiler/gen/src/llvm/refcounting.rs +++ b/compiler/gen/src/llvm/refcounting.rs @@ -369,12 +369,6 @@ fn modify_refcount_struct_help<'a, 'ctx, 'env>( layouts: &[Layout<'a>], fn_val: FunctionValue<'ctx>, ) { - debug_assert_eq!( - when_recursive, - &WhenRecursive::Unreachable, - "TODO pipe when_recursive through the dict key/value inc/dec" - ); - let builder = env.builder; let ctx = env.context; diff --git a/compiler/mono/src/inc_dec.rs b/compiler/mono/src/inc_dec.rs index 15fc915ba0..6d5b94fcdd 100644 --- a/compiler/mono/src/inc_dec.rs +++ b/compiler/mono/src/inc_dec.rs @@ -665,7 +665,6 @@ impl<'a> Context<'a> { arguments, }); - // self.add_inc_before_help(arguments, |_| OWNED, b, b_live_vars) &*self.arena.alloc(Stmt::Let(z, v, l, b)) }