Chromium Code Reviews

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

Issue 2276243002: Mark await expressions as caught or uncaught (Closed)
Patch Set: Fix broken test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 173 matching lines...)
184 "AddBoundMethod", 184 "AddBoundMethod",
185 "ArrayToString", 185 "ArrayToString",
186 "AsyncFunctionNext", 186 "AsyncFunctionNext",
187 "AsyncFunctionThrow", 187 "AsyncFunctionThrow",
188 "FormatDateToParts", 188 "FormatDateToParts",
189 "GetIterator", 189 "GetIterator",
190 "GetMethod", 190 "GetMethod",
191 "GlobalPromise", 191 "GlobalPromise",
192 "IntlParseDate", 192 "IntlParseDate",
193 "IntlParseNumber", 193 "IntlParseNumber",
194 "IsPromise",
194 "MapEntries", 195 "MapEntries",
195 "MapIterator", 196 "MapIterator",
196 "MapIteratorNext", 197 "MapIteratorNext",
197 "MaxSimple", 198 "MaxSimple",
198 "MinSimple", 199 "MinSimple",
199 "NewPromiseCapability", 200 "NewPromiseCapability",
200 "PerformPromiseThen", 201 "PerformPromiseThen",
201 "PromiseCastResolved",
202 "PromiseThen", 202 "PromiseThen",
203 "PromiseCreate",
203 "RegExpSubclassExecJS", 204 "RegExpSubclassExecJS",
204 "RegExpSubclassMatch", 205 "RegExpSubclassMatch",
205 "RegExpSubclassReplace", 206 "RegExpSubclassReplace",
206 "RegExpSubclassSearch", 207 "RegExpSubclassSearch",
207 "RegExpSubclassSplit", 208 "RegExpSubclassSplit",
208 "RegExpSubclassTest", 209 "RegExpSubclassTest",
209 "RejectPromise", 210 "RejectPromise",
211 "ResolvePromise",
210 "SetIterator", 212 "SetIterator",
211 "SetIteratorNext", 213 "SetIteratorNext",
212 "SetValues", 214 "SetValues",
213 "ToLocaleLowerCaseI18N", 215 "ToLocaleLowerCaseI18N",
214 "ToLocaleUpperCaseI18N", 216 "ToLocaleUpperCaseI18N",
215 "ToLowerCaseI18N", 217 "ToLowerCaseI18N",
216 "ToPositiveInteger", 218 "ToPositiveInteger",
217 "ToUpperCaseI18N", 219 "ToUpperCaseI18N",
218 // From runtime: 220 // From runtime:
219 "is_concat_spreadable_symbol", 221 "is_concat_spreadable_symbol",
220 "iterator_symbol", 222 "iterator_symbol",
221 "promise_result_symbol", 223 "promise_result_symbol",
222 "promise_state_symbol", 224 "promise_state_symbol",
225 "promise_await_handler_symbol",
226 "promise_handled_hint_symbol",
223 "object_freeze", 227 "object_freeze",
224 "object_is_frozen", 228 "object_is_frozen",
225 "object_is_sealed", 229 "object_is_sealed",
226 "reflect_apply", 230 "reflect_apply",
227 "reflect_construct", 231 "reflect_construct",
228 "regexp_flags_symbol", 232 "regexp_flags_symbol",
229 "to_string_tag_symbol", 233 "to_string_tag_symbol",
230 "object_to_string", 234 "object_to_string",
231 "species_symbol", 235 "species_symbol",
232 "match_symbol", 236 "match_symbol",
(...skipping 119 matching lines...)
352 356
353 extrasUtils.uncurryThis = function uncurryThis(func) { 357 extrasUtils.uncurryThis = function uncurryThis(func) {
354 return function(thisArg, ...args) { 358 return function(thisArg, ...args) {
355 return %reflect_apply(func, thisArg, args); 359 return %reflect_apply(func, thisArg, args);
356 }; 360 };
357 }; 361 };
358 362
359 %ToFastProperties(extrasUtils); 363 %ToFastProperties(extrasUtils);
360 364
361 }) 365 })
OLDNEW

Powered by Google App Engine