Fixed genBytesIn for mobile arrays
This commit is contained in:
parent
cdab6af65a
commit
437c6bd3ef
|
@ -410,7 +410,7 @@ cgenBytesIn m t v
|
|||
tell [")"]
|
||||
genBytesIn' t@(A.ChanDataType {})
|
||||
= tell ["sizeof(mt_cb_t*)"]
|
||||
genBytesIn' (A.Mobile t@(A.Array {})) = genBytesIn' t
|
||||
genBytesIn' (A.Mobile t@(A.Array {})) = tell ["sizeof(mt_array_t*)"]
|
||||
genBytesIn' (A.Mobile _)
|
||||
= tell ["sizeof(void*)"]
|
||||
genBytesIn' (A.List _)
|
||||
|
|
Loading…
Reference in New Issue
Block a user