recover null-ptr optimization by adding a special case to the niching logic
This commit is contained in:
parent
76c49aead6
commit
4fb039ed6c
2 changed files with 13 additions and 8 deletions
|
@ -1087,6 +1087,7 @@ where
|
|||
// this will continue to work as long as we don't start
|
||||
// using more niches than just null (e.g., the first page of
|
||||
// the address space, or unaligned pointers).
|
||||
// FIXME(reference_niches): well, the day has come...
|
||||
Variants::Multiple {
|
||||
tag_encoding: TagEncoding::Niche { untagged_variant, .. },
|
||||
tag_field,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue