Home
last modified time | relevance | path

Searched refs:primitive_value (Results 1 – 1 of 1) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-conversion.c292 ecma_value_t primitive_value = ecma_op_to_primitive (value, ECMA_PREFERRED_TYPE_NUMBER); in ecma_op_to_number() local
294 if (ECMA_IS_VALUE_ERROR (primitive_value)) in ecma_op_to_number()
296 return primitive_value; in ecma_op_to_number()
299 ecma_value_t ret_value = ecma_op_to_number (primitive_value); in ecma_op_to_number()
300 ecma_fast_free_value (primitive_value); in ecma_op_to_number()
360 ecma_value_t primitive_value = ecma_op_to_primitive (value, ECMA_PREFERRED_TYPE_NUMBER); in ecma_get_number() local
362 if (ECMA_IS_VALUE_ERROR (primitive_value)) in ecma_get_number()
364 return primitive_value; in ecma_get_number()
367 ecma_value_t ret_value = ecma_get_number (primitive_value, number_p); in ecma_get_number()
368 ecma_fast_free_value (primitive_value); in ecma_get_number()