Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 3db75a4dc048af5118017137ca510dbfdfdbe3ca..820ba618108af0160feb511e95fc5db0d662ad9f 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -206,6 +206,7 @@ class Genesis BASE_EMBEDDED { |
HARMONY_INPROGRESS(DECLARE_FEATURE_INITIALIZATION) |
HARMONY_STAGED(DECLARE_FEATURE_INITIALIZATION) |
HARMONY_SHIPPING(DECLARE_FEATURE_INITIALIZATION) |
+ DECLARE_FEATURE_INITIALIZATION(promise_extra, "") |
#undef DECLARE_FEATURE_INITIALIZATION |
Handle<JSFunction> InstallInternalArray(Handle<JSObject> target, |
@@ -1524,6 +1525,7 @@ void Genesis::InitializeExperimentalGlobal() { |
HARMONY_INPROGRESS(FEATURE_INITIALIZE_GLOBAL) |
HARMONY_STAGED(FEATURE_INITIALIZE_GLOBAL) |
HARMONY_SHIPPING(FEATURE_INITIALIZE_GLOBAL) |
+ FEATURE_INITIALIZE_GLOBAL(promise_extra, "") |
#undef FEATURE_INITIALIZE_GLOBAL |
} |
@@ -2063,6 +2065,7 @@ EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
+EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
static void SimpleInstallFunction(Handle<JSObject>& base, const char* name, |
@@ -2596,6 +2599,8 @@ bool Genesis::InstallExperimentalNatives() { |
static const char* harmony_do_expressions_natives[] = {nullptr}; |
static const char* harmony_regexp_subclass_natives[] = {nullptr}; |
static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
+ static const char* promise_extra_natives[] = {"native promise-extra.js", |
+ nullptr}; |
for (int i = ExperimentalNatives::GetDebuggerCount(); |
i < ExperimentalNatives::GetBuiltinsCount(); i++) { |
@@ -2614,6 +2619,7 @@ bool Genesis::InstallExperimentalNatives() { |
HARMONY_INPROGRESS(INSTALL_EXPERIMENTAL_NATIVES); |
HARMONY_STAGED(INSTALL_EXPERIMENTAL_NATIVES); |
HARMONY_SHIPPING(INSTALL_EXPERIMENTAL_NATIVES); |
+ INSTALL_EXPERIMENTAL_NATIVES(promise_extra, ""); |
#undef INSTALL_EXPERIMENTAL_NATIVES |
} |