Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index a5a1da3bc388c93da101a88aca261caccebdddff..e54b004ab1271f301eaedac417393e4a1f3bb6c9 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -202,6 +202,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, |
@@ -1588,6 +1589,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 |
} |
@@ -2099,6 +2101,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) |
void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, |
@@ -2635,6 +2638,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++) { |
@@ -2653,6 +2658,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 |
} |