remove incorrect debug assert

This commit is contained in:
Folkert 2021-05-22 19:44:07 +02:00
parent 9c32965a3d
commit 3946a8631d
2 changed files with 0 additions and 7 deletions

View file

@ -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;

View file

@ -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))
}