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 -2
View File
@@ -179,7 +179,7 @@ ecma_make_object_value (ecma_object_t* object_p) /**< object to reference in val
ecma_value_t
ecma_copy_value (const ecma_value_t value, /**< ecma-value */
bool do_ref_if_object) /**< if the value is object value,
increment reference counter of object */
increment reference counter of the object */
{
ecma_value_t value_copy;
@@ -251,7 +251,7 @@ ecma_copy_value (const ecma_value_t value, /**< ecma-value */
void
ecma_free_value (ecma_value_t value, /**< value description */
bool do_deref_if_object) /**< if the value is object value,
decrement reference counter of object */
decrement reference counter of the object */
{
switch ((ecma_type_t) value.value_type)
{