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

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

Issue 2357423002: Improve stack traces for async functions (Closed)
Patch Set: REbase Created 4 years, 2 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 "IsPromise", 191 "IsPromise",
192 "MapEntries", 192 "MapEntries",
193 "MapIterator", 193 "MapIterator",
194 "MapIteratorNext", 194 "MapIteratorNext",
195 "MaxSimple", 195 "MaxSimple",
196 "MinSimple", 196 "MinSimple",
197 "NewPromiseCapability", 197 "NewPromiseCapability",
198 "PerformPromiseThen", 198 "PerformPromiseThen",
199 "PromiseThen", 199 "PromiseThen",
200 "PromiseCreate", 200 "PromiseCreate",
201 "PromiseNextMicrotaskID",
201 "RegExpSubclassExecJS", 202 "RegExpSubclassExecJS",
202 "RegExpSubclassMatch", 203 "RegExpSubclassMatch",
203 "RegExpSubclassReplace", 204 "RegExpSubclassReplace",
204 "RegExpSubclassSearch", 205 "RegExpSubclassSearch",
205 "RegExpSubclassSplit", 206 "RegExpSubclassSplit",
206 "RegExpSubclassTest", 207 "RegExpSubclassTest",
207 "RejectPromise", 208 "RejectPromise",
208 "ResolvePromise", 209 "ResolvePromise",
209 "SetIterator", 210 "SetIterator",
210 "SetIteratorNext", 211 "SetIteratorNext",
211 "SetValues", 212 "SetValues",
212 "ToLocaleLowerCaseI18N", 213 "ToLocaleLowerCaseI18N",
213 "ToLocaleUpperCaseI18N", 214 "ToLocaleUpperCaseI18N",
214 "ToLowerCaseI18N", 215 "ToLowerCaseI18N",
215 "ToPositiveInteger", 216 "ToPositiveInteger",
216 "ToUpperCaseI18N", 217 "ToUpperCaseI18N",
217 // From runtime: 218 // From runtime:
218 "is_concat_spreadable_symbol", 219 "is_concat_spreadable_symbol",
219 "iterator_symbol", 220 "iterator_symbol",
221 "promise_async_stack_id_symbol",
220 "promise_result_symbol", 222 "promise_result_symbol",
221 "promise_state_symbol", 223 "promise_state_symbol",
222 "promise_forwarding_handler_symbol", 224 "promise_forwarding_handler_symbol",
223 "promise_handled_by_symbol", 225 "promise_handled_by_symbol",
224 "promise_handled_hint_symbol", 226 "promise_handled_hint_symbol",
225 "promise_has_handler_symbol", 227 "promise_has_handler_symbol",
226 "object_freeze", 228 "object_freeze",
227 "object_is_frozen", 229 "object_is_frozen",
228 "object_is_sealed", 230 "object_is_sealed",
229 "reflect_apply", 231 "reflect_apply",
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 357
356 extrasUtils.uncurryThis = function uncurryThis(func) { 358 extrasUtils.uncurryThis = function uncurryThis(func) {
357 return function(thisArg, ...args) { 359 return function(thisArg, ...args) {
358 return %reflect_apply(func, thisArg, args); 360 return %reflect_apply(func, thisArg, args);
359 }; 361 };
360 }; 362 };
361 363
362 %ToFastProperties(extrasUtils); 364 %ToFastProperties(extrasUtils);
363 365
364 }) 366 })
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