Introducing ecma-values collection. Implementing ecma-strings collection through ecma-values collection.

This commit is contained in:
Ruben Ayrapetyan
2014-08-14 21:19:56 +04:00
parent af798a7142
commit f638c381a3
5 changed files with 163 additions and 135 deletions
+2 -4
View File
@@ -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;
}