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

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

Issue 2209433003: [promise] separate PerformPromiseThen from PromiseThen (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 // Whitelist of exports from normal natives to experimental natives and debug. 182 // Whitelist of exports from normal natives to experimental natives and debug.
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 "ErrorToString", 188 "ErrorToString",
189 "GetIterator", 189 "GetIterator",
190 "GetMethod", 190 "GetMethod",
191 "GlobalPromise",
191 "IntlParseDate", 192 "IntlParseDate",
192 "IntlParseNumber", 193 "IntlParseNumber",
193 "IsNaN", 194 "IsNaN",
194 "MakeError", 195 "MakeError",
195 "MakeRangeError", 196 "MakeRangeError",
196 "MakeTypeError", 197 "MakeTypeError",
197 "MapEntries", 198 "MapEntries",
198 "MapIterator", 199 "MapIterator",
199 "MapIteratorNext", 200 "MapIteratorNext",
200 "MaxSimple", 201 "MaxSimple",
201 "MinSimple", 202 "MinSimple",
203 "NewPromiseCapability",
202 "NumberIsInteger", 204 "NumberIsInteger",
205 "PerformPromiseThen",
203 "PromiseChain", 206 "PromiseChain",
204 "PromiseDefer", 207 "PromiseDefer",
205 "PromiseAccept", 208 "PromiseAccept",
206 "PromiseCreateRejected", 209 "PromiseCreateRejected",
207 "PromiseCreateResolved", 210 "PromiseCreateResolved",
208 "PromiseThen", 211 "PromiseThen",
209 "RegExpSubclassExecJS", 212 "RegExpSubclassExecJS",
210 "RegExpSubclassMatch", 213 "RegExpSubclassMatch",
211 "RegExpSubclassReplace", 214 "RegExpSubclassReplace",
212 "RegExpSubclassSearch", 215 "RegExpSubclassSearch",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 360
358 extrasUtils.uncurryThis = function uncurryThis(func) { 361 extrasUtils.uncurryThis = function uncurryThis(func) {
359 return function(thisArg, ...args) { 362 return function(thisArg, ...args) {
360 return %reflect_apply(func, thisArg, args); 363 return %reflect_apply(func, thisArg, args);
361 }; 364 };
362 }; 365 };
363 366
364 %ToFastProperties(extrasUtils); 367 %ToFastProperties(extrasUtils);
365 368
366 }) 369 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698