Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 2aa4e384a8fe96152a241cd05c3ba6559ea22ad2..87a6ba519233bd1c08089f55e0fb4bb0061daba7 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); |