Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index fe4721617cd8a2ffa3be6f6448fdd28f5d876907..ad9c1526dcf87fdfecef99d95da5112043e7fd7f 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1886,6 +1886,9 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
factory->species_symbol(), Builtins::kReturnReceiver, |
true); |
+ SimpleInstallFunction(promise_fun, "resolve", Builtins::kPromiseResolve, 1, |
+ true, DONT_ENUM); |
+ |
Handle<Map> prototype_map(prototype->map()); |
Map::SetShouldBeFastPrototypeMap(prototype_map, true, isolate); |