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)
158
158
* @return jmem_cpointer_t slot pointer
159
159
*/
160
160
161
- jmem_cpointer_t *
161
+ static jmem_cpointer_t *
162
162
ecma_allocate_new_string_slot (void )
163
163
{
164
164
ecma_lit_storage_item_t * new_item_p ;
@@ -175,13 +175,14 @@ ecma_allocate_new_string_slot (void)
175
175
return new_item_p -> values + 0 ;
176
176
} /* ecma_allocate_new_string_slot */
177
177
178
+ #if JERRY_LIT_HASHMAP
178
179
/**
179
180
* Find an empty a literal string slot.
180
181
*
181
182
* @return jmem_cpointer_t slot pointer
182
183
*/
183
184
184
- jmem_cpointer_t *
185
+ static jmem_cpointer_t *
185
186
ecma_find_empty_literal_string_slot (void )
186
187
{
187
188
jmem_cpointer_t string_list_cp = JERRY_CONTEXT (string_list_first_cp );
@@ -202,14 +203,15 @@ ecma_find_empty_literal_string_slot (void)
202
203
203
204
return ecma_allocate_new_string_slot ();
204
205
} /* ecma_find_empty_literal_string_slot */
206
+ #endif
205
207
206
208
/**
207
209
* Find an empty or similar a literal string slot.
208
210
*
209
211
* @return jmem_cpointer_t slot pointer
210
212
*/
211
213
212
- jmem_cpointer_t *
214
+ static jmem_cpointer_t *
213
215
ecma_find_empty_or_same_literal_string_slot (ecma_string_t * string_p )
214
216
{
215
217
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):
77
77
Options ('jerry_tests-external_context' ,
78
78
OPTIONS_COMMON + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
79
79
+ ['--external-context=on' ]),
80
+ Options ('jerry_tests-lit-hashmap' ,
81
+ OPTIONS_COMMON + OPTIONS_STACK_LIMIT + OPTIONS_GC_MARK_LIMIT
82
+ + ['--lit-hashmap=on' ]),
80
83
]
81
84
82
85
# Test options for test262
You can’t perform that action at this time.
0 commit comments