| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index 9d1789143225916bcf774cce7f44fe2b3e34acaa..9962922abe87f86e301d26fbd09140422d9e2e19 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -1971,6 +1971,14 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object,
|
| promise_handle->set_is_exception_caught(true);
|
| }
|
|
|
| + { // Internal: InternalPromiseReject
|
| + Handle<JSFunction> function =
|
| + SimpleCreateFunction(isolate, factory->empty_string(),
|
| + Builtins::kInternalPromiseReject, 3, true);
|
| + InstallWithIntrinsicDefaultProto(isolate, function,
|
| + Context::PROMISE_INTERNAL_REJECT_INDEX);
|
| + }
|
| +
|
| {
|
| Handle<Code> code =
|
| handle(isolate->builtins()->builtin(Builtins::kPromiseResolveClosure),
|
|
|