Exclude NIL when checking if a term is a header on arch32
Fixes
NIL on arch32 is header tagged, but not a header, so like NONE, it needs to be excluded in is_header.
@@ -348,7 +348,7 @@ impl Encoding for Encoding32 {
#[inline]
fn is_header(value: u32) -> bool {
- value & MASK_PRIMARY == Self::TAG_HEADER && value != Self::NONE
+ value & MASK_PRIMARY == Self::TAG_HEADER && value != Self::NONE && value != Self::NIL
}
#[inline]
