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

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

Issue 2233923003: Desugar async/await to create the resulting Promise upfront (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: format Created 4 years, 3 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 "NumberIsInteger", 200 "NumberIsInteger",
201 "PerformPromiseThen", 201 "PerformPromiseThen",
202 "PromiseCastResolved", 202 "PromiseCastResolved",
203 "PromiseThen", 203 "PromiseThen",
204 "RegExpSubclassExecJS", 204 "RegExpSubclassExecJS",
205 "RegExpSubclassMatch", 205 "RegExpSubclassMatch",
206 "RegExpSubclassReplace", 206 "RegExpSubclassReplace",
207 "RegExpSubclassSearch", 207 "RegExpSubclassSearch",
208 "RegExpSubclassSplit", 208 "RegExpSubclassSplit",
209 "RegExpSubclassTest", 209 "RegExpSubclassTest",
210 "RejectPromise",
210 "SetIterator", 211 "SetIterator",
211 "SetIteratorNext", 212 "SetIteratorNext",
212 "SetValues", 213 "SetValues",
213 "ToLocaleLowerCaseI18N", 214 "ToLocaleLowerCaseI18N",
214 "ToLocaleUpperCaseI18N", 215 "ToLocaleUpperCaseI18N",
215 "ToLowerCaseI18N", 216 "ToLowerCaseI18N",
216 "ToPositiveInteger", 217 "ToPositiveInteger",
217 "ToUpperCaseI18N", 218 "ToUpperCaseI18N",
218 // From runtime: 219 // From runtime:
219 "is_concat_spreadable_symbol", 220 "is_concat_spreadable_symbol",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 353
353 extrasUtils.uncurryThis = function uncurryThis(func) { 354 extrasUtils.uncurryThis = function uncurryThis(func) {
354 return function(thisArg, ...args) { 355 return function(thisArg, ...args) {
355 return %reflect_apply(func, thisArg, args); 356 return %reflect_apply(func, thisArg, args);
356 }; 357 };
357 }; 358 };
358 359
359 %ToFastProperties(extrasUtils); 360 %ToFastProperties(extrasUtils);
360 361
361 }) 362 })
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