Replacing items of ecma_object_class_t with corresponding ecma magic strings.

This commit is contained in:
Ruben Ayrapetyan
2014-09-26 18:04:42 +04:00
parent 897ed2d5c2
commit a0a2ec2cea
11 changed files with 21 additions and 38 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ ecma_op_create_string_object (ecma_value_t *arguments_list_p, /**< list of argum
ecma_deref_object (prototype_obj_p);
ecma_property_t *class_prop_p = ecma_create_internal_property (obj_p, ECMA_INTERNAL_PROPERTY_CLASS);
class_prop_p->u.internal_property.value = ECMA_OBJECT_CLASS_STRING;
class_prop_p->u.internal_property.value = ECMA_MAGIC_STRING_STRING_UL;
ecma_property_t *prim_value_prop_p = ecma_create_internal_property (obj_p,
ECMA_INTERNAL_PROPERTY_PRIMITIVE_STRING_VALUE);