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

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

Issue 1540953004: [runtime] Rewrite Function.prototype.toString in C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typos. Created 4 years, 12 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
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 %CheckIsBootstrapping(); 164 %CheckIsBootstrapping();
165 165
166 for ( ; !IS_UNDEFINED(imports); imports = imports.next) { 166 for ( ; !IS_UNDEFINED(imports); imports = imports.next) {
167 imports(exports_container); 167 imports(exports_container);
168 } 168 }
169 169
170 // Whitelist of exports from normal natives to experimental natives and debug. 170 // Whitelist of exports from normal natives to experimental natives and debug.
171 var expose_list = [ 171 var expose_list = [
172 "ArrayToString", 172 "ArrayToString",
173 "ErrorToString", 173 "ErrorToString",
174 "FunctionSourceString",
175 "GetIterator", 174 "GetIterator",
176 "GetMethod", 175 "GetMethod",
177 "InnerArrayEvery", 176 "InnerArrayEvery",
178 "InnerArrayFilter", 177 "InnerArrayFilter",
179 "InnerArrayForEach", 178 "InnerArrayForEach",
180 "InnerArrayIndexOf", 179 "InnerArrayIndexOf",
181 "InnerArrayJoin", 180 "InnerArrayJoin",
182 "InnerArrayLastIndexOf", 181 "InnerArrayLastIndexOf",
183 "InnerArrayMap", 182 "InnerArrayMap",
184 "InnerArrayReduce", 183 "InnerArrayReduce",
(...skipping 159 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
« src/debug/mirrors.js ('K') | « src/js/messages.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698