mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 03:42:17 +00:00
ResetRef reachable
This commit is contained in:
parent
5045d0ffae
commit
93030fd3c8
1 changed files with 1 additions and 2 deletions
|
@ -500,13 +500,12 @@ impl<'a> CodeGenHelp<'a> {
|
|||
niche: Niche::NONE,
|
||||
}
|
||||
}
|
||||
HelperOp::Reset => ProcLayout {
|
||||
HelperOp::Reset | HelperOp::ResetRef => ProcLayout {
|
||||
arguments: self.arena.alloc([layout]),
|
||||
result: layout,
|
||||
niche: Niche::NONE,
|
||||
},
|
||||
HelperOp::DecRef(_) => unreachable!("No generated Proc for DecRef"),
|
||||
HelperOp::ResetRef => unreachable!("No generated Proc for ResetRef"),
|
||||
HelperOp::Eq => ProcLayout {
|
||||
arguments: self.arena.alloc([layout, layout]),
|
||||
result: LAYOUT_BOOL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue