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

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

Issue 1427733005: Revert of Implement flag and source getters on RegExp.prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rproto
Patch Set: Created 5 years, 1 month 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/js/macros.py ('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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 imports(exports_container); 168 imports(exports_container);
169 } 169 }
170 170
171 // Whitelist of exports from normal natives to experimental natives and debug. 171 // Whitelist of exports from normal natives to experimental natives and debug.
172 var expose_list = [ 172 var expose_list = [
173 "ArrayToString", 173 "ArrayToString",
174 "ErrorToString", 174 "ErrorToString",
175 "FunctionSourceString", 175 "FunctionSourceString",
176 "GetIterator", 176 "GetIterator",
177 "GetMethod", 177 "GetMethod",
178 "GetRegExpFlagGetter",
179 "InnerArrayEvery", 178 "InnerArrayEvery",
180 "InnerArrayFilter", 179 "InnerArrayFilter",
181 "InnerArrayForEach", 180 "InnerArrayForEach",
182 "InnerArrayIndexOf", 181 "InnerArrayIndexOf",
183 "InnerArrayJoin", 182 "InnerArrayJoin",
184 "InnerArrayLastIndexOf", 183 "InnerArrayLastIndexOf",
185 "InnerArrayMap", 184 "InnerArrayMap",
186 "InnerArrayReduce", 185 "InnerArrayReduce",
187 "InnerArrayReduceRight", 186 "InnerArrayReduceRight",
188 "InnerArrayReverse", 187 "InnerArrayReverse",
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 343
345 extrasUtils.uncurryThis = function uncurryThis(func) { 344 extrasUtils.uncurryThis = function uncurryThis(func) {
346 return function(thisArg) { 345 return function(thisArg) {
347 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); 346 return %Apply(func, thisArg, arguments, 1, arguments.length - 1);
348 }; 347 };
349 }; 348 };
350 349
351 %ToFastProperties(extrasUtils); 350 %ToFastProperties(extrasUtils);
352 351
353 }) 352 })
OLDNEW
« no previous file with comments | « src/js/macros.py ('k') | src/js/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698