Change ecma_length_t and jerry_api_length_t from uint16_t to uint32_t.
JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
@@ -696,12 +696,12 @@ typedef double ecma_number_t;
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
/** Compressed pointer to next chunk with collection's data */
|
||||
mem_cpointer_t next_chunk_cp;
|
||||
|
||||
/** Number of elements in the collection */
|
||||
ecma_length_t unit_number;
|
||||
|
||||
/** Compressed pointer to next chunk with collection's data */
|
||||
mem_cpointer_t next_chunk_cp;
|
||||
|
||||
/** Place for the collection's data */
|
||||
uint8_t data[ sizeof (uint64_t) - sizeof (mem_cpointer_t) - sizeof (ecma_length_t) ];
|
||||
} ecma_collection_header_t;
|
||||
|
||||
Reference in New Issue
Block a user