Revert "add ir unknowninc instruction"

This reverts commit ebd62485df.
This commit is contained in:
Folkert 2021-05-16 21:52:30 +02:00
parent 7520dfee06
commit bb3fe92251
7 changed files with 14 additions and 56 deletions

View file

@ -468,16 +468,7 @@ impl<'a> Context<'a> {
arguments,
});
let mut b = Stmt::Let(z, v, l, b);
if !ps[1].borrow {
b = Stmt::Refcounting(
ModifyRc::Inc(arguments[2], 2),
self.arena.alloc(b),
)
}
&*self.arena.alloc(b)
&*self.arena.alloc(Stmt::Let(z, v, l, b))
}
None => unreachable!(),
}