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

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: Incorporate Dan's debugger fixes, + try to fix windows failures 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
« no previous file with comments | « src/js/harmony-async-await.js ('k') | src/js/promise.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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 } 180 }
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 "GetIterator", 188 "GetIterator",
189 "GetMethod", 189 "GetMethod",
190 "GlobalPromise",
190 "IntlParseDate", 191 "IntlParseDate",
191 "IntlParseNumber", 192 "IntlParseNumber",
192 "IsNaN", 193 "IsNaN",
194 "IsPromise",
193 "MakeError", 195 "MakeError",
194 "MakeRangeError", 196 "MakeRangeError",
195 "MakeTypeError", 197 "MakeTypeError",
196 "MapEntries", 198 "MapEntries",
197 "MapIterator", 199 "MapIterator",
198 "MapIteratorNext", 200 "MapIteratorNext",
199 "MaxSimple", 201 "MaxSimple",
200 "MinSimple", 202 "MinSimple",
203 "NewPromiseCapability",
201 "NumberIsInteger", 204 "NumberIsInteger",
205 "PerformPromiseThen",
202 "PromiseChain", 206 "PromiseChain",
203 "PromiseDefer", 207 "PromiseDefer",
204 "PromiseAccept", 208 "PromiseAccept",
205 "PromiseCreateRejected", 209 "PromiseCreateRejected",
206 "PromiseCreateResolved", 210 "PromiseCreateResolved",
207 "PromiseThen", 211 "PromiseThen",
208 "RegExpSubclassExecJS", 212 "RegExpSubclassExecJS",
209 "RegExpSubclassMatch", 213 "RegExpSubclassMatch",
210 "RegExpSubclassReplace", 214 "RegExpSubclassReplace",
211 "RegExpSubclassSearch", 215 "RegExpSubclassSearch",
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 360
357 extrasUtils.uncurryThis = function uncurryThis(func) { 361 extrasUtils.uncurryThis = function uncurryThis(func) {
358 return function(thisArg, ...args) { 362 return function(thisArg, ...args) {
359 return %reflect_apply(func, thisArg, args); 363 return %reflect_apply(func, thisArg, args);
360 }; 364 };
361 }; 365 };
362 366
363 %ToFastProperties(extrasUtils); 367 %ToFastProperties(extrasUtils);
364 368
365 }) 369 })
OLDNEW
« no previous file with comments | « src/js/harmony-async-await.js ('k') | src/js/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698