Introducing ecma-values collection. Implementing ecma-strings collection through ecma-values collection.
This commit is contained in:
@@ -396,10 +396,8 @@ ecma_free_internal_property (ecma_property_t *property_p) /**< the property */
|
||||
case ECMA_INTERNAL_PROPERTY_NUMBER_INDEXED_ARRAY_VALUES: /* a collection */
|
||||
case ECMA_INTERNAL_PROPERTY_STRING_INDEXED_ARRAY_VALUES: /* a collection */
|
||||
{
|
||||
TODO (/* Free collection's elements */);
|
||||
JERRY_UNIMPLEMENTED();
|
||||
ecma_free_values_collection (ECMA_GET_POINTER(property_value), true);
|
||||
|
||||
ecma_free_collection (ECMA_GET_POINTER(property_value));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -407,7 +405,7 @@ ecma_free_internal_property (ecma_property_t *property_p) /**< the property */
|
||||
{
|
||||
if (property_value != ECMA_NULL_POINTER)
|
||||
{
|
||||
ecma_free_strings_collection (ECMA_GET_POINTER(property_value));
|
||||
ecma_free_values_collection (ECMA_GET_POINTER(property_value), false);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user