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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user