Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index 138b4dc71c4a1b91e4055fce1af40c33350d8cf0..df86aa870cb659eb057c2be97b3c9c06a2355f0e 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -492,7 +492,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalRegExpWithString( |
} |
} |
- RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); |
+ RegExpImpl::GlobalCache global_cache(regexp, subject, isolate); |
if (global_cache.HasException()) return isolate->heap()->exception(); |
int32_t* current_match = global_cache.FetchNext(); |
@@ -568,7 +568,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalRegExpWithEmptyString( |
} |
} |
- RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); |
+ RegExpImpl::GlobalCache global_cache(regexp, subject, isolate); |
if (global_cache.HasException()) return isolate->heap()->exception(); |
int32_t* current_match = global_cache.FetchNext(); |
@@ -876,7 +876,7 @@ static Object* SearchRegExpMultiple(Isolate* isolate, Handle<String> subject, |
} |
} |
- RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate); |
+ RegExpImpl::GlobalCache global_cache(regexp, subject, isolate); |
if (global_cache.HasException()) return isolate->heap()->exception(); |
// Ensured in Runtime_RegExpExecMultiple. |