Mask out union tag ID from pointer when calculating refcount address

This commit is contained in:
Brian Carroll 2022-01-03 15:08:29 +00:00
parent 94dea1df9f
commit 5e642c880c
3 changed files with 108 additions and 30 deletions

View file

@ -35,7 +35,7 @@ enum HelperOp {
impl HelperOp {
fn is_decref(&self) -> bool {
matches!(self, Self::DecRef(_))
}
}
}
#[derive(Debug)]