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

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

Issue 2222893002: Move family of MakeError functions to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix in prologue.js Created 4 years, 4 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 var expose_list = [ 183 var expose_list = [
184 "AddBoundMethod", 184 "AddBoundMethod",
185 "ArrayToString", 185 "ArrayToString",
186 "AsyncFunctionNext", 186 "AsyncFunctionNext",
187 "AsyncFunctionThrow", 187 "AsyncFunctionThrow",
188 "GetIterator", 188 "GetIterator",
189 "GetMethod", 189 "GetMethod",
190 "IntlParseDate", 190 "IntlParseDate",
191 "IntlParseNumber", 191 "IntlParseNumber",
192 "IsNaN", 192 "IsNaN",
193 "MakeError",
194 "MakeRangeError",
195 "MakeTypeError",
196 "MapEntries", 193 "MapEntries",
197 "MapIterator", 194 "MapIterator",
198 "MapIteratorNext", 195 "MapIteratorNext",
199 "MaxSimple", 196 "MaxSimple",
200 "MinSimple", 197 "MinSimple",
201 "NumberIsInteger", 198 "NumberIsInteger",
202 "PromiseChain", 199 "PromiseChain",
203 "PromiseDefer", 200 "PromiseDefer",
204 "PromiseAccept", 201 "PromiseAccept",
205 "PromiseCreateRejected", 202 "PromiseCreateRejected",
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 353
357 extrasUtils.uncurryThis = function uncurryThis(func) { 354 extrasUtils.uncurryThis = function uncurryThis(func) {
358 return function(thisArg, ...args) { 355 return function(thisArg, ...args) {
359 return %reflect_apply(func, thisArg, args); 356 return %reflect_apply(func, thisArg, args);
360 }; 357 };
361 }; 358 };
362 359
363 %ToFastProperties(extrasUtils); 360 %ToFastProperties(extrasUtils);
364 361
365 }) 362 })
OLDNEW
« src/bootstrapper.cc ('K') | « src/js/messages.js ('k') | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698