mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 11:32:27 +00:00
Mask out union tag ID from pointer when calculating refcount address
This commit is contained in:
parent
94dea1df9f
commit
5e642c880c
3 changed files with 108 additions and 30 deletions
|
@ -35,7 +35,7 @@ enum HelperOp {
|
|||
impl HelperOp {
|
||||
fn is_decref(&self) -> bool {
|
||||
matches!(self, Self::DecRef(_))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue