@@ -2005,7 +2005,7 @@ ecma_builtin_array_prototype_object_every (ecma_value_t this_arg, /**< this argu
20052005
20062006 /* We already checked that arg1 is callable, so it will always coerce to an object. */
20072007 ecma_value_t to_object_comp = ecma_op_to_object (arg1 );
2008- JERRY_ASSERT (!ecma_is_value_error (to_object_comp ));
2008+ JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (to_object_comp ));
20092009
20102010 func_object_p = ecma_get_object_from_value (to_object_comp );
20112011
@@ -2103,7 +2103,7 @@ ecma_builtin_array_prototype_object_some (ecma_value_t this_arg, /**< this argum
21032103
21042104 /* We already checked that arg1 is callable, so it will always coerce to an object. */
21052105 ecma_value_t to_object_comp = ecma_op_to_object (arg1 );
2106- JERRY_ASSERT (!ecma_is_value_error (to_object_comp ));
2106+ JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (to_object_comp ));
21072107
21082108 func_object_p = ecma_get_object_from_value (to_object_comp );
21092109
@@ -2200,7 +2200,7 @@ ecma_builtin_array_prototype_object_for_each (ecma_value_t this_arg, /**< this a
22002200
22012201 /* We already checked that arg1 is callable, so it will always coerce to an object. */
22022202 ecma_value_t to_object_comp = ecma_op_to_object (arg1 );
2203- JERRY_ASSERT (!ecma_is_value_error (to_object_comp ));
2203+ JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (to_object_comp ));
22042204
22052205 func_object_p = ecma_get_object_from_value (to_object_comp );
22062206
@@ -2295,7 +2295,7 @@ ecma_builtin_array_prototype_object_map (ecma_value_t this_arg, /**< this argume
22952295
22962296 /* 6. */
22972297 ecma_value_t new_array = ecma_op_create_array_object (NULL , 0 , false);
2298- JERRY_ASSERT (!ecma_is_value_error (new_array ));
2298+ JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (new_array ));
22992299 ecma_object_t * new_array_p = ecma_get_object_from_value (new_array );
23002300
23012301 /* 7-8. */
@@ -2402,7 +2402,7 @@ ecma_builtin_array_prototype_object_filter (ecma_value_t this_arg, /**< this arg
24022402
24032403 /* 6. */
24042404 ecma_value_t new_array = ecma_op_create_array_object (NULL , 0 , false);
2405- JERRY_ASSERT (!ecma_is_value_error (new_array ));
2405+ JERRY_ASSERT (!ECMA_IS_VALUE_ERROR (new_array ));
24062406 ecma_object_t * new_array_p = ecma_get_object_from_value (new_array );
24072407
24082408 /* We already checked that arg1 is callable, so it will always be an object. */
0 commit comments