Remove ecma_get_length_string (#2234)
Fixes #2231 JerryScript-DCO-1.0-Signed-off-by: Daniella Barsony bella@inf.u-szeged.hu
This commit is contained in:
@@ -133,7 +133,7 @@ ecma_op_create_arguments_object (ecma_object_t *func_obj_p, /**< callee function
|
||||
|
||||
/* 7. */
|
||||
prop_value_p = ecma_create_named_data_property (obj_p,
|
||||
ecma_get_length_string (),
|
||||
ecma_get_magic_string (LIT_MAGIC_STRING_LENGTH),
|
||||
ECMA_PROPERTY_CONFIGURABLE_WRITABLE,
|
||||
NULL);
|
||||
|
||||
|
||||
@@ -1185,7 +1185,7 @@ re_set_result_array_properties (ecma_object_t *array_obj_p, /**< result array */
|
||||
array_item_prop_desc.value = ecma_make_uint32_value (num_of_elements);
|
||||
|
||||
ecma_op_object_define_own_property (array_obj_p,
|
||||
ecma_get_length_string (),
|
||||
ecma_get_magic_string (LIT_MAGIC_STRING_LENGTH),
|
||||
&array_item_prop_desc,
|
||||
true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user