Begin support for looping-back recursive pointers to their source layouts

This commit is contained in:
Ayaz Hafiz 2023-01-20 12:56:42 -06:00
parent a30a4e36ed
commit 8750127111
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
17 changed files with 57 additions and 47 deletions

View file

@ -98,7 +98,7 @@ impl WasmLayout {
| NullableUnwrapped { .. },
)
| Layout::Boxed(_)
| Layout::RecursivePointer => Self::Primitive(PTR_TYPE, PTR_SIZE),
| Layout::RecursivePointer(_) => Self::Primitive(PTR_TYPE, PTR_SIZE),
}
}

View file

@ -1952,7 +1952,7 @@ impl<'a> LowLevelCall<'a> {
}
}
Layout::RecursivePointer => {
Layout::RecursivePointer(_) => {
internal_error!(
"Tried to apply `==` to RecursivePointer values {:?}",
self.arguments,