Revert "Calling routine for instantiating built-ins' properties only if property name is a magic string."

Reverting commit 1dd7d626967110c3a0f14c40479bc054baf04b3f because of performance degradation on ARM Linux.

The degradation requires further investigation.
This commit is contained in:
Ruben Ayrapetyan
2014-11-14 18:04:45 +03:00
parent 82fe067fc9
commit 857e66fb98
2 changed files with 5 additions and 6 deletions
+1 -4
View File
@@ -104,11 +104,8 @@ ecma_op_object_get_own_property (ecma_object_t *obj_p, /**< the object */
if (unlikely (prop_p == NULL))
{
ecma_magic_string_id_t magic_string_id __unused;
if (is_builtin
&& type != ECMA_OBJECT_TYPE_BUILT_IN_FUNCTION
&& ecma_is_string_magic (property_name_p, &magic_string_id))
&& type != ECMA_OBJECT_TYPE_BUILT_IN_FUNCTION)
{
prop_p = ecma_builtin_try_to_instantiate_property (obj_p, property_name_p);
}