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

Side by Side Diff: src/js/prologue.js

Issue 2398423002: [regexp] Port RegExp.prototype[@@replace] (Closed)
Patch Set: Smi::kZero 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 unified diff | Download patch
« no previous file with comments | « src/contexts.h ('k') | src/js/regexp.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 (function(global, utils, extrasUtils) { 5 (function(global, utils, extrasUtils) {
6 6
7 "use strict"; 7 "use strict";
8 8
9 %CheckIsBootstrapping(); 9 %CheckIsBootstrapping();
10 10
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 // From runtime: 201 // From runtime:
202 "is_concat_spreadable_symbol", 202 "is_concat_spreadable_symbol",
203 "iterator_symbol", 203 "iterator_symbol",
204 "object_freeze", 204 "object_freeze",
205 "object_is_frozen", 205 "object_is_frozen",
206 "object_is_sealed", 206 "object_is_sealed",
207 "promise_result_symbol", 207 "promise_result_symbol",
208 "promise_state_symbol", 208 "promise_state_symbol",
209 "reflect_apply", 209 "reflect_apply",
210 "reflect_construct", 210 "reflect_construct",
211 "regexp_flags_symbol",
212 "to_string_tag_symbol", 211 "to_string_tag_symbol",
213 "object_to_string", 212 "object_to_string",
214 "species_symbol", 213 "species_symbol",
215 "match_symbol", 214 "match_symbol",
216 "replace_symbol", 215 "replace_symbol",
217 "search_symbol", 216 "search_symbol",
218 "split_symbol", 217 "split_symbol",
219 ]; 218 ];
220 219
221 var filtered_exports = {}; 220 var filtered_exports = {};
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 334
336 extrasUtils.uncurryThis = function uncurryThis(func) { 335 extrasUtils.uncurryThis = function uncurryThis(func) {
337 return function(thisArg, ...args) { 336 return function(thisArg, ...args) {
338 return %reflect_apply(func, thisArg, args); 337 return %reflect_apply(func, thisArg, args);
339 }; 338 };
340 }; 339 };
341 340
342 %ToFastProperties(extrasUtils); 341 %ToFastProperties(extrasUtils);
343 342
344 }) 343 })
OLDNEW
« no previous file with comments | « src/contexts.h ('k') | src/js/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698