add LayoutRepr::Ptr

This commit is contained in:
Folkert 2023-06-18 15:44:40 +02:00
parent a9f7961b52
commit 17512873e8
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
18 changed files with 62 additions and 8 deletions

View file

@ -9866,6 +9866,9 @@ where
LayoutRepr::Boxed(boxed) => {
stack.push(layout_interner.get(boxed));
}
LayoutRepr::Ptr(inner) => {
stack.push(layout_interner.get(inner));
}
LayoutRepr::Union(union_layout) => match union_layout {
UnionLayout::NonRecursive(tags) => {
for in_layout in tags.iter().flat_map(|e| e.iter()) {