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

Unified Diff: src/runtime/runtime.h

Issue 2433923003: [regexp] Add fast-path for global, callable replace (Closed)
Patch Set: Re-add asserts and COW array usage Created 4 years, 2 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
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 9dff3f57b96ccede2e9c2d5fee98ae441094e234..c8b9cc71055aea98499ae0b8847fb725e609aa91 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -460,6 +460,7 @@ namespace internal {
F(RegExpConstructResult, 3, 1) \
F(RegExpCreate, 1, 1) \
F(RegExpExec, 4, 1) \
+ F(RegExpExecMultiple, 4, 1) \
F(RegExpExecReThrow, 4, 1) \
F(RegExpFlags, 1, 1) \
F(RegExpInitializeAndCompile, 3, 1) \
@@ -467,7 +468,6 @@ namespace internal {
F(RegExpReplace, 3, 1) \
F(RegExpSource, 1, 1) \
F(StringReplaceGlobalRegExpWithString, 4, 1) \
- F(StringReplaceGlobalRegExpWithFunction, 3, 1) \
F(StringReplaceNonGlobalRegExpWithFunction, 3, 1) \
F(StringSplit, 3, 1)

Powered by Google App Engine
This is Rietveld 408576698