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

Unified Diff: src/runtime/runtime.h

Issue 2415663007: [regexp] RegExp.prototype.replace fast-paths (Closed)
Patch Set: Remove unused variable 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 c4e8a62d3862e2be09a449596ea9e1b83f895b66..a7679387b13f93a955f26343dc7c8271f8e4c22c 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -456,19 +456,21 @@ namespace internal {
F(JSProxyGetHandler, 1, 1) \
F(JSProxyRevoke, 1, 1)
-#define FOR_EACH_INTRINSIC_REGEXP(F) \
- F(StringReplaceGlobalRegExpWithString, 4, 1) \
- F(StringSplit, 3, 1) \
- F(RegExpCreate, 1, 1) \
- F(RegExpExec, 4, 1) \
- F(RegExpFlags, 1, 1) \
- F(RegExpReplace, 3, 1) \
- F(RegExpSource, 1, 1) \
- F(RegExpConstructResult, 3, 1) \
- F(RegExpInitializeAndCompile, 3, 1) \
- F(RegExpInternalReplace, 3, 1) \
- F(RegExpExecReThrow, 4, 1) \
- F(IsRegExp, 1, 1)
+#define FOR_EACH_INTRINSIC_REGEXP(F) \
+ F(IsRegExp, 1, 1) \
+ F(RegExpConstructResult, 3, 1) \
+ F(RegExpCreate, 1, 1) \
+ F(RegExpExec, 4, 1) \
+ F(RegExpExecReThrow, 4, 1) \
+ F(RegExpFlags, 1, 1) \
+ F(RegExpInitializeAndCompile, 3, 1) \
+ F(RegExpInternalReplace, 3, 1) \
+ F(RegExpReplace, 3, 1) \
+ F(RegExpSource, 1, 1) \
+ F(StringReplaceGlobalRegExpWithString, 4, 1) \
+ F(StringReplaceGlobalRegExpWithFunction, 3, 1) \
+ F(StringReplaceNonGlobalRegExpWithFunction, 3, 1) \
+ F(StringSplit, 3, 1)
#define FOR_EACH_INTRINSIC_SCOPES(F) \
F(ThrowConstAssignError, 0, 1) \

Powered by Google App Engine
This is Rietveld 408576698