Fix undefined references build error on Windows (x64) (#3168)

We should emit function symbols for these jerry-core functions:
- ecma_compare_ecma_strings is used by test-stringbuilder.c
- ecma_is_value_number is used by test-literal-storage.c
- ecma_date_time_within_day is used by test-date-helpers.c
- jmem_heap_alloc_block is used by test-jmem.c
- jmem_heap_free_block is used by test-jmem.c
- jmem_pools_alloc is used by test-poolman.c
- jmem_pools_free is used by test-poolman.c

JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
Csaba Osztrogonác
2019-09-26 23:13:24 +02:00
committed by Dániel Bátyai
parent 2b3faf683d
commit 4eae760180
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -55,7 +55,7 @@ jmem_pools_finalize (void)
* @return pointer to allocated chunk, if allocation was successful,
* or NULL - if not enough memory.
*/
inline void * JERRY_ATTR_HOT JERRY_ATTR_ALWAYS_INLINE
extern inline void * JERRY_ATTR_HOT JERRY_ATTR_ALWAYS_INLINE
jmem_pools_alloc (size_t size) /**< size of the chunk */
{
#if ENABLED (JERRY_MEM_GC_BEFORE_EACH_ALLOC)
@@ -115,7 +115,7 @@ jmem_pools_alloc (size_t size) /**< size of the chunk */
/**
* Free the chunk
*/
inline void JERRY_ATTR_HOT JERRY_ATTR_ALWAYS_INLINE
extern inline void JERRY_ATTR_HOT JERRY_ATTR_ALWAYS_INLINE
jmem_pools_free (void *chunk_p, /**< pointer to the chunk */
size_t size) /**< size of the chunk */
{