Chromium Code Reviews

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

Issue 1419823010: Implement flag and source getters on RegExp.prototype. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rproto
Patch Set: fix windows build Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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...)
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",
178 "InnerArrayEvery", 179 "InnerArrayEvery",
179 "InnerArrayFilter", 180 "InnerArrayFilter",
180 "InnerArrayForEach", 181 "InnerArrayForEach",
181 "InnerArrayIndexOf", 182 "InnerArrayIndexOf",
182 "InnerArrayJoin", 183 "InnerArrayJoin",
183 "InnerArrayLastIndexOf", 184 "InnerArrayLastIndexOf",
184 "InnerArrayMap", 185 "InnerArrayMap",
185 "InnerArrayReduce", 186 "InnerArrayReduce",
186 "InnerArrayReduceRight", 187 "InnerArrayReduceRight",
187 "InnerArrayReverse", 188 "InnerArrayReverse",
(...skipping 155 matching lines...)
343 344
344 extrasUtils.uncurryThis = function uncurryThis(func) { 345 extrasUtils.uncurryThis = function uncurryThis(func) {
345 return function(thisArg) { 346 return function(thisArg) {
346 return %Apply(func, thisArg, arguments, 1, arguments.length - 1); 347 return %Apply(func, thisArg, arguments, 1, arguments.length - 1);
347 }; 348 };
348 }; 349 };
349 350
350 %ToFastProperties(extrasUtils); 351 %ToFastProperties(extrasUtils);
351 352
352 }) 353 })
OLDNEW

Powered by Google App Engine