Lines Matching refs:result

165   ecma_value_t result = ECMA_VALUE_EMPTY;
174 result = ecma_raise_standard_error_with_format (ECMA_ERROR_TYPE,
179 result = ecma_raise_type_error (NULL);
182 return result;
207 result = ecma_op_object_put_with_receiver (object_p,
237 result = ecma_op_object_put_with_receiver (object_p,
245 result = ecma_op_set_mutable_binding (object_p,
254 return result;
946 result = ecma_op_resolve_reference_value (frame_ctx_p->lex_env_p, \
949 if (ECMA_IS_VALUE_ERROR (result)) \
953 (target_value) = result; \
991 ecma_value_t result = ECMA_VALUE_EMPTY;
1121 result = JERRY_CONTEXT (vm_exec_stop_cb) (JERRY_CONTEXT (vm_exec_stop_user_p));
1123 if (ecma_is_value_undefined (result))
1131 if (ecma_is_value_error_reference (result))
1133 ecma_raise_error_from_error_reference (result);
1137 jcontext_raise_exception (result);
1142 result = ECMA_VALUE_ERROR;
1372 result = vm_var_decl (lex_env_p, name_p, frame_ctx_p->is_eval_code);
1374 if (ECMA_IS_VALUE_ERROR (result))
1381 result = vm_set_var (lex_env_p, name_p, is_strict, lit_value);
1383 if (ECMA_IS_VALUE_ERROR (result))
1556 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared."));
1583 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared."));
1587 result = ecma_op_has_binding (lex_env_p, literal_name_p);
1590 if (ECMA_IS_VALUE_ERROR (result))
1596 if (ecma_is_value_true (result))
1598 result = ecma_raise_syntax_error (ECMA_ERR_MSG ("Local variable is redeclared."));
1667 result = ecma_raise_type_error (ECMA_ERR_MSG ("Constant bindings cannot be reassigned."));
1717 result = ecma_op_set_mutable_binding (lex_env_p, name_p, left_value, is_strict);
1719 if (ECMA_IS_VALUE_ERROR (result))
1766 result = ecma_builtin_object_object_set_proto (stack_top_p[-1], left_value);
1767 if (ECMA_IS_VALUE_ERROR (result))
1793 result = ECMA_VALUE_ERROR;
1801 result = ecma_raise_type_error (ECMA_ERR_MSG ("prototype property of a class is non-configurable"));
1868 result = ECMA_VALUE_ERROR;
1876 result = ecma_raise_type_error (ECMA_ERR_MSG ("prototype property of a class is non-configurable"));
1919 result = ECMA_VALUE_ERROR;
1948 result = opfunc_init_class (frame_ctx_p, stack_top_p);
1950 if (ECMA_IS_VALUE_ERROR (result))
1963 result = ecma_op_function_get_super_constructor (JERRY_CONTEXT (current_function_obj_p));
1965 if (ECMA_IS_VALUE_ERROR (result))
1970 *stack_top_p++ = result;
1975 result = ecma_op_get_this_binding (frame_ctx_p->lex_env_p);
1977 if (ECMA_IS_VALUE_ERROR (result))
1982 *stack_top_p++ = result;
1987 result = opfunc_form_super_reference (&stack_top_p, frame_ctx_p, left_value, opcode);
1989 if (ECMA_IS_VALUE_ERROR (result))
2003 result = ecma_op_get_iterator (stack_top_p[-1], ECMA_VALUE_EMPTY);
2005 if (ECMA_IS_VALUE_ERROR (result))
2010 *stack_top_p++ = result;
2017 result = ecma_op_iterator_step (stack_top_p[-index]);
2019 if (ECMA_IS_VALUE_ERROR (result))
2026 if (!ecma_is_value_false (result))
2028 value = ecma_op_iterator_value (result);
2029 ecma_free_value (result);
2033 result = value;
2043 result = ecma_op_iterator_close (left_value);
2045 if (ECMA_IS_VALUE_ERROR (result))
2075 result = ecma_op_iterator_step (iterator);
2077 if (ECMA_IS_VALUE_ERROR (result))
2083 if (ecma_is_value_false (result))
2088 ecma_value_t value = ecma_op_iterator_value (result);
2089 ecma_free_value (result);
2094 result = value;
2108 result = vm_op_get_value (stack_top_p[-1], left_value);
2110 if (ECMA_IS_VALUE_ERROR (result))
2115 *stack_top_p++ = result;
2127 result = ECMA_VALUE_ERROR;
2144 result = opfunc_create_executable_object (frame_ctx_p);
2146 if (ECMA_IS_VALUE_ERROR (result))
2151 return result;
2166 result = left_value;
2180 result = opfunc_return_promise (left_value);
2190 result = ECMA_VALUE_ERROR;
2198 result = ECMA_VALUE_ERROR;
2233 result = ecma_op_check_object_coercible (stack_top_p[-1]);
2235 if (ECMA_IS_VALUE_ERROR (result))
2243 result = opfunc_assign_super_reference (&stack_top_p, frame_ctx_p, opcode_data);
2245 if (ECMA_IS_VALUE_ERROR (result))
2268 result = opfunc_append_array (stack_top_p, values_length);
2271 if (ECMA_IS_VALUE_ERROR (result))
2276 JERRY_ASSERT (ecma_is_value_empty (result));
2300 result = ecma_op_get_value_lex_env_base (frame_ctx_p->lex_env_p,
2304 if (ECMA_IS_VALUE_ERROR (result))
2313 *stack_top_p++ = result;
2319 result = vm_op_get_value (left_value, right_value);
2321 if (ECMA_IS_VALUE_ERROR (result))
2326 *stack_top_p++ = result;
2358 result = vm_op_get_value (left_value,
2367 if (ECMA_IS_VALUE_ERROR (result))
2378 left_value = result;
2393 result = left_value;
2396 ecma_integer_value_t int_value = (ecma_integer_value_t) result;
2423 *stack_top_p++ = result;
2436 stack_top_p[-3] = result;
2443 frame_ctx_p->block_result = result;
2448 result = (ecma_value_t) (int_value + int_increase);
2454 result = left_value;
2459 result = ecma_op_to_number (left_value);
2461 if (ECMA_IS_VALUE_ERROR (result))
2468 ecma_number_t result_number = ecma_get_number_from_value (result);
2486 *stack_top_p++ = ecma_copy_value (result);
2499 stack_top_p[-3] = ecma_copy_value (result);
2506 frame_ctx_p->block_result = ecma_copy_value (result);
2511 if (ecma_is_value_integer_number (result))
2513 result = ecma_make_number_value (result_number + increase);
2517 result = ecma_update_float_number (result, result_number + increase);
2540 result = left_value;
2576 result = stack_top_p[-1];
2600 result = stack_top_p[-1];
2618 result = left_value;
2626 result = ECMA_VALUE_ERROR;
2632 result = ecma_raise_reference_error (ECMA_ERR_MSG ("Undefined reference."));
2665 result = ECMA_VALUE_ERROR;
2688 result = vm_op_delete_prop (left_value, right_value, is_strict);
2690 if (ECMA_IS_VALUE_ERROR (result))
2695 JERRY_ASSERT (ecma_is_value_boolean (result));
2697 *stack_top_p++ = result;
2712 result = vm_op_delete_var (literal_start_p[literal_index],
2715 if (ECMA_IS_VALUE_ERROR (result))
2720 JERRY_ASSERT (ecma_is_value_boolean (result));
2722 *stack_top_p++ = result;
2776 result = opfunc_unary_operation (left_value, VM_OC_GROUP_GET_INDEX (opcode_data) == VM_OC_PLUS);
2778 if (ECMA_IS_VALUE_ERROR (result))
2783 *stack_top_p++ = result;
2803 result = do_number_bitwise_logic (NUMBER_BITWISE_NOT,
2807 if (ECMA_IS_VALUE_ERROR (result))
2812 *stack_top_p++ = result;
2838 result = ecma_op_get_value_lex_env_base (frame_ctx_p->lex_env_p,
2845 result = ECMA_VALUE_UNDEFINED;
2847 else if (ECMA_IS_VALUE_ERROR (result))
2852 left_value = result;
2858 result = opfunc_typeof (left_value);
2860 if (ECMA_IS_VALUE_ERROR (result))
2865 *stack_top_p++ = result;
2899 result = opfunc_addition (left_value, right_value);
2901 if (ECMA_IS_VALUE_ERROR (result))
2906 *stack_top_p++ = result;
2947 result = do_number_arithmetic (NUMBER_ARITHMETIC_SUBTRACTION,
2951 if (ECMA_IS_VALUE_ERROR (result))
2956 *stack_top_p++ = result;
3010 result = do_number_arithmetic (NUMBER_ARITHMETIC_MULTIPLICATION,
3014 if (ECMA_IS_VALUE_ERROR (result))
3019 *stack_top_p++ = result;
3027 result = do_number_arithmetic (NUMBER_ARITHMETIC_DIVISION,
3031 if (ECMA_IS_VALUE_ERROR (result))
3036 *stack_top_p++ = result;
3061 result = do_number_arithmetic (NUMBER_ARITHMETIC_REMAINDER,
3065 if (ECMA_IS_VALUE_ERROR (result))
3070 *stack_top_p++ = result;
3076 result = do_number_arithmetic (NUMBER_ARITHMETIC_EXPONENTIATION,
3080 if (ECMA_IS_VALUE_ERROR (result))
3085 *stack_top_p++ = result;
3091 result = opfunc_equality (left_value, right_value);
3093 if (ECMA_IS_VALUE_ERROR (result))
3098 *stack_top_p++ = result;
3103 result = opfunc_equality (left_value, right_value);
3105 if (ECMA_IS_VALUE_ERROR (result))
3110 *stack_top_p++ = ecma_invert_boolean_value (result);
3117 result = ecma_make_boolean_value (is_equal);
3119 *stack_top_p++ = result;
3126 result = ecma_make_boolean_value (!is_equal);
3128 *stack_top_p++ = result;
3142 result = do_number_bitwise_logic (NUMBER_BITWISE_LOGIC_OR,
3146 if (ECMA_IS_VALUE_ERROR (result))
3151 *stack_top_p++ = result;
3165 result = do_number_bitwise_logic (NUMBER_BITWISE_LOGIC_XOR,
3169 if (ECMA_IS_VALUE_ERROR (result))
3174 *stack_top_p++ = result;
3188 result = do_number_bitwise_logic (NUMBER_BITWISE_LOGIC_AND,
3192 if (ECMA_IS_VALUE_ERROR (result))
3197 *stack_top_p++ = result;
3213 result = do_number_bitwise_logic (NUMBER_BITWISE_SHIFT_LEFT,
3217 if (ECMA_IS_VALUE_ERROR (result))
3222 *stack_top_p++ = result;
3238 result = do_number_bitwise_logic (NUMBER_BITWISE_SHIFT_RIGHT,
3242 if (ECMA_IS_VALUE_ERROR (result))
3247 *stack_top_p++ = result;
3263 result = do_number_bitwise_logic (NUMBER_BITWISE_SHIFT_URIGHT,
3267 if (ECMA_IS_VALUE_ERROR (result))
3272 *stack_top_p++ = result;
3328 result = opfunc_relation (left_value, right_value, true, false);
3330 if (ECMA_IS_VALUE_ERROR (result))
3335 *stack_top_p++ = result;
3358 result = opfunc_relation (left_value, right_value, false, false);
3360 if (ECMA_IS_VALUE_ERROR (result))
3365 *stack_top_p++ = result;
3388 result = opfunc_relation (left_value, right_value, false, true);
3390 if (ECMA_IS_VALUE_ERROR (result))
3395 *stack_top_p++ = result;
3418 result = opfunc_relation (left_value, right_value, true, true);
3420 if (ECMA_IS_VALUE_ERROR (result))
3425 *stack_top_p++ = result;
3430 result = opfunc_in (left_value, right_value);
3432 if (ECMA_IS_VALUE_ERROR (result))
3437 *stack_top_p++ = result;
3442 result = opfunc_instanceof (left_value, right_value);
3444 if (ECMA_IS_VALUE_ERROR (result))
3449 *stack_top_p++ = result;
3511 result = ecma_op_to_object (value);
3514 if (ECMA_IS_VALUE_ERROR (result))
3519 object_p = ecma_get_object_from_value (result);
3550 result = ecma_raise_type_error (ECMA_ERR_MSG ("UNIMPLEMENTED: Proxy support in for-in."));
3621 result = ecma_op_object_has_property (object_p, prop_name_p);
3623 if (JERRY_LIKELY (ecma_is_value_true (result)))
3659 result = iterator;
3668 result = next_value;
3703 result = next_value;
3718 result = next_value;
3813 result = *stack_top_p;
3820 result = ECMA_VALUE_ERROR;
3873 result = ECMA_VALUE_ERROR;
3898 result = ECMA_VALUE_ERROR;
3923 result = ECMA_VALUE_ERROR;
3949 result = ECMA_VALUE_ERROR;
4000 VM_GET_REGISTER (frame_ctx_p, literal_index) = result;
4004 result = ecma_fast_copy_value (result);
4014 result);
4018 ecma_free_value (result);
4019 result = put_value_result;
4024 if (ecma_is_value_object(result) && ecma_op_is_callable(result)) {
4026 ecma_object_t* obj = ecma_get_object_from_value(result);
4043 ecma_fast_free_value (result);
4056 VM_GET_REGISTER (frame_ctx_p, property) = result;
4062 result = ecma_fast_copy_value (result);
4068 result,
4073 ecma_free_value (result);
4074 result = set_value_result;
4080 ecma_fast_free_value (result);
4088 *stack_top_p++ = result;
4093 frame_ctx_p->block_result = result;
4106 if (ECMA_IS_VALUE_ERROR (result))
4165 return result;
4168 if (!ECMA_IS_VALUE_ERROR (result))
4182 ecma_free_value (result);
4183 result = jcontext_take_exception ();
4188 stack_top_p[-2] = result;
4195 ecma_free_value (result);
4196 result = ECMA_VALUE_ERROR;
4214 result = jcontext_take_exception ();
4220 stack_top_p[-2] = result;
4226 *stack_top_p++ = result;
4244 return result;