Fixed genBytesIn for mobile arrays

This commit is contained in:
Neil Brown 2009-04-16 17:39:24 +00:00
parent cdab6af65a
commit 437c6bd3ef

View File

@ -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 _)