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

Unified Diff: src/builtins/builtins.h

Issue 2663803002: [string] Migrate String.prototype.{split,replace} to TF (Closed)
Patch Set: Remove debug-evaluate whitelisting Created 3 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/bootstrapper.cc ('k') | src/builtins/builtins-regexp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index ffaa51aa463786e6e893202990399a92c25babe2..9788936fe99565a9d9563fe694aee4139d56589b 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -748,6 +748,10 @@ class Isolate;
CPP(StringPrototypeLocaleCompare) \
/* ES6 section 21.1.3.12 String.prototype.normalize ( [form] ) */ \
CPP(StringPrototypeNormalize) \
+ /* ES6 section 21.1.3.16 String.prototype.replace ( search, replace ) */ \
+ TFJ(StringPrototypeReplace, 2) \
+ /* ES6 section 21.1.3.19 String.prototype.split ( separator, limit ) */ \
+ TFJ(StringPrototypeSplit, 2) \
/* ES6 section B.2.3.1 String.prototype.substr ( start, length ) */ \
TFJ(StringPrototypeSubstr, 2) \
/* ES6 section 21.1.3.19 String.prototype.substring ( start, end ) */ \
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-regexp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698