mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix unittests build, when all-in-one is enabled.
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
parent
8fbde244e9
commit
ab6d777220
@ -758,7 +758,7 @@ ecma_builtin_string_prototype_object_replace_match (ecma_builtin_replace_search_
|
||||
ecma_string_t *search_string_p = ecma_get_string_from_value (context_p->regexp_or_search_string);
|
||||
ecma_string_t *input_string_p = ecma_get_string_from_value (context_p->input_string);
|
||||
|
||||
ecma_length_t index_of;
|
||||
ecma_length_t index_of = 0;
|
||||
if (ecma_builtin_helper_string_find_index (input_string_p, search_string_p, true, 0, &index_of))
|
||||
{
|
||||
ecma_value_t arguments_list_p[1] = { context_p->regexp_or_search_string };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user