@@ -489,7 +489,7 @@ ecma_builtin_array_prototype_object_to_locale_string (const ecma_value_t this_ar
489
489
ecma_op_to_object (this_arg),
490
490
ret_value);
491
491
492
- ecma_object_t *obj_p = ecma_get_object_from_completion_value (obj_value);
492
+ ecma_object_t *obj_p = ecma_get_object_from_value (obj_value);
493
493
494
494
ecma_string_t *length_magic_string_p = ecma_get_magic_string (ECMA_MAGIC_STRING_LENGTH);
495
495
@@ -532,7 +532,7 @@ ecma_builtin_array_prototype_object_to_locale_string (const ecma_value_t this_ar
532
532
ecma_builtin_helper_get_to_locale_string_at_index (obj_p, k),
533
533
ret_value);
534
534
535
- ecma_string_t *next_string_p = ecma_get_string_from_completion_value (next_string_value);
535
+ ecma_string_t *next_string_p = ecma_get_string_from_value (next_string_value);
536
536
537
537
ecma_deref_ecma_string (return_string_p);
538
538
@@ -1736,7 +1736,7 @@ ecma_builtin_array_prototype_object_every (ecma_value_t this_arg, /**< this argu
1736
1736
ECMA_TRY_CATCH (call_value, ecma_op_function_call (func_object_p, arg2, call_args, 3 ), ret_value);
1737
1737
1738
1738
/* 7.c.iii, ecma_op_to_boolean always returns a simple value, so no need to free. */
1739
- if (! ecma_is_value_true (ecma_op_to_boolean (call_value)))
1739
+ if (ecma_is_completion_value_normal_false (ecma_op_to_boolean (call_value)))
1740
1740
{
1741
1741
ret_value = ecma_make_simple_completion_value (ECMA_SIMPLE_VALUE_FALSE);
1742
1742
}
@@ -1837,7 +1837,7 @@ ecma_builtin_array_prototype_object_some (ecma_value_t this_arg, /**< this argum
1837
1837
ECMA_TRY_CATCH (call_value, ecma_op_function_call (func_object_p, arg2, call_args, 3 ), ret_value);
1838
1838
1839
1839
/* 7.c.iii, ecma_op_to_boolean always returns a simple value, so no need to free. */
1840
- if (ecma_is_value_true (ecma_op_to_boolean (call_value)))
1840
+ if (ecma_is_completion_value_normal_true (ecma_op_to_boolean (call_value)))
1841
1841
{
1842
1842
ret_value = ecma_make_simple_completion_value (ECMA_SIMPLE_VALUE_TRUE);
1843
1843
}
@@ -1944,7 +1944,7 @@ ecma_builtin_array_prototype_object_filter (ecma_value_t this_arg, /**< this arg
1944
1944
ECMA_TRY_CATCH (call_value, ecma_op_function_call (func_object_p, arg2, call_args, 3 ), ret_value);
1945
1945
1946
1946
/* 9.c.iii, ecma_op_to_boolean always returns a simple value, so no need to free. */
1947
- if (ecma_is_value_true (ecma_op_to_boolean (call_value)))
1947
+ if (ecma_is_completion_value_normal_true (ecma_op_to_boolean (call_value)))
1948
1948
{
1949
1949
ecma_string_t * to_index_string_p = ecma_new_ecma_string_from_uint32 (new_array_index);
1950
1950
/*
0 commit comments