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

Unified Diff: src/bootstrapper.cc

Issue 1054763003: Wrap promise implementation in a function. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index e11aff607f78a3f9e406dfedcce0a37ac7583f98..cb9bdfaf4ef26689ea17361175c719043d9be659 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1559,13 +1559,13 @@ void Genesis::InstallNativeFunctions() {
INSTALL_NATIVE(JSFunction, "ToCompletePropertyDescriptor",
to_complete_property_descriptor);
- INSTALL_NATIVE(Symbol, "promiseStatus", promise_status);
- INSTALL_NATIVE(JSFunction, "PromiseCreate", promise_create);
- INSTALL_NATIVE(JSFunction, "PromiseResolve", promise_resolve);
- INSTALL_NATIVE(JSFunction, "PromiseReject", promise_reject);
- INSTALL_NATIVE(JSFunction, "PromiseChain", promise_chain);
- INSTALL_NATIVE(JSFunction, "PromiseCatch", promise_catch);
- INSTALL_NATIVE(JSFunction, "PromiseThen", promise_then);
+ INSTALL_NATIVE(Symbol, "$promiseStatus", promise_status);
+ INSTALL_NATIVE(JSFunction, "$promiseCreate", promise_create);
+ INSTALL_NATIVE(JSFunction, "$promiseResolve", promise_resolve);
+ INSTALL_NATIVE(JSFunction, "$promiseReject", promise_reject);
+ INSTALL_NATIVE(JSFunction, "$promiseChain", promise_chain);
+ INSTALL_NATIVE(JSFunction, "$promiseCatch", promise_catch);
+ INSTALL_NATIVE(JSFunction, "$promiseThen", promise_then);
INSTALL_NATIVE(JSFunction, "$observeNotifyChange", observers_notify_change);
INSTALL_NATIVE(JSFunction, "$observeEnqueueSpliceRecord",
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698