File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ ecma_finalize_lit_storage (void)
158158 * @return jmem_cpointer_t slot pointer
159159 */
160160
161- jmem_cpointer_t *
161+ static jmem_cpointer_t *
162162ecma_allocate_new_string_slot (void )
163163{
164164 ecma_lit_storage_item_t * new_item_p ;
@@ -175,13 +175,14 @@ ecma_allocate_new_string_slot (void)
175175 return new_item_p -> values + 0 ;
176176} /* ecma_allocate_new_string_slot */
177177
178+ #if JERRY_LIT_HASHMAP
178179/**
179180 * Find an empty a literal string slot.
180181 *
181182 * @return jmem_cpointer_t slot pointer
182183 */
183184
184- jmem_cpointer_t *
185+ static jmem_cpointer_t *
185186ecma_find_empty_literal_string_slot (void )
186187{
187188 jmem_cpointer_t string_list_cp = JERRY_CONTEXT (string_list_first_cp );
@@ -202,14 +203,15 @@ ecma_find_empty_literal_string_slot (void)
202203
203204 return ecma_allocate_new_string_slot ();
204205} /* ecma_find_empty_literal_string_slot */
206+ #endif
205207
206208/**
207209 * Find an empty or similar a literal string slot.
208210 *
209211 * @return jmem_cpointer_t slot pointer
210212 */
211213
212- jmem_cpointer_t *
214+ static jmem_cpointer_t *
213215ecma_find_empty_or_same_literal_string_slot (ecma_string_t * string_p )
214216{
215217 jmem_cpointer_t string_list_cp = JERRY_CONTEXT (string_list_first_cp );
Original file line number Diff line number Diff line change @@ -77,6 +77,9 @@ def skip_if(condition, desc):
7777 Options ('jerry_tests-external_context' ,
7878 OPTIONS_COMMON + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
7979 + ['--external-context=on' ]),
80+ Options ('jerry_tests-lit-hashmap' ,
81+ OPTIONS_COMMON + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
82+ + ['--lit-hashmap=on' ]),
8083]
8184
8285# Test options for test262
You can’t perform that action at this time.
0 commit comments