mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
add LayoutRepr::Ptr
This commit is contained in:
parent
a9f7961b52
commit
17512873e8
18 changed files with 62 additions and 8 deletions
|
@ -98,6 +98,7 @@ impl WasmLayout {
|
|||
| NullableUnwrapped { .. },
|
||||
)
|
||||
| LayoutRepr::Boxed(_)
|
||||
| LayoutRepr::Ptr(_)
|
||||
| LayoutRepr::RecursivePointer(_) => Self::Primitive(PTR_TYPE, PTR_SIZE),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2030,7 +2030,8 @@ impl<'a> LowLevelCall<'a> {
|
|||
| LayoutRepr::Struct { .. }
|
||||
| LayoutRepr::Union(_)
|
||||
| LayoutRepr::LambdaSet(_)
|
||||
| LayoutRepr::Boxed(_) => {
|
||||
| LayoutRepr::Boxed(_)
|
||||
| LayoutRepr::Ptr(_) => {
|
||||
// Don't want Zig calling convention here, we're calling internal Roc functions
|
||||
backend
|
||||
.storage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue