|
20 | 20 | #include "jrt.h" |
21 | 21 | #include "mem-poolman.h" |
22 | 22 |
|
23 | | -JERRY_STATIC_ASSERT (sizeof (ecma_property_t) <= sizeof (uint64_t)); |
| 23 | +JERRY_STATIC_ASSERT (sizeof (ecma_property_t) <= sizeof (uint64_t), |
| 24 | + size_of_ecma_property_t_must_be_less_than_or_equal_to_8_bytes); |
24 | 25 |
|
25 | | -JERRY_STATIC_ASSERT (sizeof (ecma_object_t) <= sizeof (uint64_t)); |
26 | | -JERRY_STATIC_ASSERT (ECMA_OBJECT_OBJ_TYPE_SIZE <= sizeof (uint64_t) * JERRY_BITSINBYTE); |
27 | | -JERRY_STATIC_ASSERT (ECMA_OBJECT_LEX_ENV_TYPE_SIZE <= sizeof (uint64_t) * JERRY_BITSINBYTE); |
| 26 | +JERRY_STATIC_ASSERT (sizeof (ecma_object_t) <= sizeof (uint64_t), |
| 27 | + size_of_ecma_object_t_must_be_less_than_or_equal_to_8_bytes); |
| 28 | +JERRY_STATIC_ASSERT (ECMA_OBJECT_OBJ_TYPE_SIZE <= sizeof (uint64_t) * JERRY_BITSINBYTE, |
| 29 | + ECMA_OBJECT_OBJ_TYPE_SIZE_must_be_less_than_or_equal_to_64_bytes); |
| 30 | +JERRY_STATIC_ASSERT (ECMA_OBJECT_LEX_ENV_TYPE_SIZE <= sizeof (uint64_t) * JERRY_BITSINBYTE, |
| 31 | + ECMA_OBJECT_LEX_ENV_TYPE_SIZE_must_be_less_than_or_equal_to_64_bytes); |
28 | 32 |
|
29 | | -JERRY_STATIC_ASSERT (sizeof (ecma_collection_header_t) == sizeof (uint64_t)); |
30 | | -JERRY_STATIC_ASSERT (sizeof (ecma_collection_chunk_t) == sizeof (uint64_t)); |
31 | | -JERRY_STATIC_ASSERT (sizeof (ecma_string_t) == sizeof (uint64_t)); |
32 | | -JERRY_STATIC_ASSERT (sizeof (ecma_getter_setter_pointers_t) <= sizeof (uint64_t)); |
| 33 | +JERRY_STATIC_ASSERT (sizeof (ecma_collection_header_t) == sizeof (uint64_t), |
| 34 | + ecma_collection_header_t_must_be_less_than_or_equal_to_8_bytes); |
| 35 | +JERRY_STATIC_ASSERT (sizeof (ecma_collection_chunk_t) == sizeof (uint64_t), |
| 36 | + ecma_collection_chunk_t_must_be_less_than_or_equal_to_8_bytes); |
| 37 | +JERRY_STATIC_ASSERT (sizeof (ecma_string_t) == sizeof (uint64_t), |
| 38 | + ecma_string_t_must_be_less_than_or_equal_to_8_bytes); |
| 39 | +JERRY_STATIC_ASSERT (sizeof (ecma_getter_setter_pointers_t) <= sizeof (uint64_t), |
| 40 | + ecma_getter_setter_pointers_t_must_be_less_than_or_equal_to_8_bytes); |
33 | 41 |
|
34 | 42 | /** \addtogroup ecma ECMA |
35 | 43 | * @{ |
|
0 commit comments