Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 7184d079093132747df428658a2a196930b83d12..3e16b39c6e12ea95d457ea2d432bf9aa598085f1 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1888,6 +1888,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); |