Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: src/runtime/runtime-strings.cc

Issue 1630633002: [regexp] correctly advance zero length matches for global/unicode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@backrefbounds
Patch Set: fix test Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | test/mjsunit/harmony/unicode-regexp-zero-length.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime-strings.cc
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc
index bd4dd699b4576363f7232380b75653e20863fce1..fcec47ddab314a74061a9dc4c11a3983f451ea08 100644
--- a/src/runtime/runtime-strings.cc
+++ b/src/runtime/runtime-strings.cc
@@ -341,7 +341,7 @@ RUNTIME_FUNCTION(Runtime_StringMatch) {
RUNTIME_ASSERT(regexp_info->HasFastObjectElements());
- RegExpImpl::GlobalCache global_cache(regexp, subject, true, isolate);
+ RegExpImpl::GlobalCache global_cache(regexp, subject, isolate);
if (global_cache.HasException()) return isolate->heap()->exception();
int capture_count = regexp->CaptureCount();
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | test/mjsunit/harmony/unicode-regexp-zero-length.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698