Remove the usage of ecma_length_t (#4009)
Now the following conventions are applied: - passing the number of arguments for a function call is always uint32_t - string size/length/position related operation should use lit_utf8_size_t - Extended objects internal fields must be uint32_t JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -1026,7 +1026,7 @@ ecma_op_create_list_from_array_like (ecma_value_t arr, /**< array value */
|
||||
ecma_object_t *obj_p = ecma_get_object_from_value (arr);
|
||||
|
||||
/* 4. 5. */
|
||||
ecma_length_t len;
|
||||
uint32_t len;
|
||||
if (ECMA_IS_VALUE_ERROR (ecma_op_object_get_length (obj_p, &len)))
|
||||
{
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user