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

Unified Diff: src/js/prologue.js

Issue 1895603002: [esnext] prototype runtime implementation for async functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@AsyncFunction
Patch Set: remove weird arrow-generator thing Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: src/js/prologue.js
diff --git a/src/js/prologue.js b/src/js/prologue.js
index 81bc50cef69ef3d8b018c6f6032af33e905e7c05..e5d735fe8d007ccade9b8026d6706ef1c9fff20d 100644
--- a/src/js/prologue.js
+++ b/src/js/prologue.js
@@ -182,6 +182,8 @@ function PostNatives(utils) {
// Whitelist of exports from normal natives to experimental natives and debug.
var expose_list = [
"ArrayToString",
+ "AsyncFunctionNext",
+ "AsyncFunctionThrow",
"ErrorToString",
"GetIterator",
"GetMethod",
@@ -198,6 +200,9 @@ function PostNatives(utils) {
"PromiseChain",
"PromiseDefer",
"PromiseAccept",
+ "PromiseCreateRejected",
+ "PromiseCreateResolved",
+ "PromiseThen",
"RegExpSubclassExecJS",
"RegExpSubclassMatch",
"RegExpSubclassReplace",

Powered by Google App Engine
This is Rietveld 408576698