retrieve F64 behind Cons tags properly (#1369)
This commit is contained in:
@@ -87,10 +87,15 @@ impl ConsPtr {
|
||||
.with_tag(tag)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[inline(always)]
|
||||
pub fn as_ptr(self) -> *mut u8 {
|
||||
self.ptr() as *mut _
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn get_tag(self) -> ConsPtrMaskTag {
|
||||
self.tag()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(BitfieldSpecifier, Copy, Clone, Debug)]
|
||||
|
||||
Reference in New Issue
Block a user