-
- structure Type =
- struct
- fun size A.Int = 4
- | size (A.Typedef _) = raise ErrorMsg.InternalError "AU.Type.size on non-small type?"
- | size (A.Pointer _) = 8
- | size (A.Array _) = 8
- | size A.TNull = 8
-
- fun issmall A.Int = true
- | issmall (A.Pointer _) = true
- | issmall (A.Array _) = true
- | issmall _ = false
- end