Remove unused 'ecma_string_get_heap_number_size' and 'ecma_set_property_list' functions.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -744,22 +744,6 @@ ecma_string_get_number_in_desc_size (const uint32_t uint32_number) /**< number i
|
||||
return size;
|
||||
} /* ecma_string_get_number_in_desc_size */
|
||||
|
||||
/**
|
||||
* Get size of container heap number of ecma-string
|
||||
*
|
||||
* Note: the number size and length are equal
|
||||
*
|
||||
* @return number of bytes in the buffer
|
||||
*/
|
||||
static inline lit_utf8_size_t __attr_always_inline___
|
||||
ecma_string_get_heap_number_size (jmem_cpointer_t number_cp) /**< Compressed pointer to an ecma_number_t */
|
||||
{
|
||||
const ecma_number_t *num_p = ECMA_GET_NON_NULL_POINTER (ecma_number_t, number_cp);
|
||||
lit_utf8_byte_t buffer[ECMA_MAX_CHARS_IN_STRINGIFIED_NUMBER];
|
||||
|
||||
return ecma_number_to_utf8_string (*num_p, buffer, sizeof (buffer));
|
||||
} /* ecma_string_get_heap_number_size */
|
||||
|
||||
/**
|
||||
* Checks whether the given string is a sequence of ascii characters.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user