Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 2ff70f3c98be380e7e0a17f7466108f78fd4e8d0..e603caa35cdd2fe0b1777dfa09b322dc66816d38 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1591,6 +1591,15 @@ void Genesis::InstallExperimentalNativeFunctions() { |
INSTALL_NATIVE(JSFunction, "EnqueueExternalMicrotask", |
enqueue_external_microtask); |
+ if (FLAG_harmony_promises) { |
+ INSTALL_NATIVE(JSFunction, "IsPromise", is_promise); |
+ 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); |
+ } |
+ |
if (FLAG_harmony_proxies) { |
INSTALL_NATIVE(JSFunction, "DerivedHasTrap", derived_has_trap); |
INSTALL_NATIVE(JSFunction, "DerivedGetTrap", derived_get_trap); |