| Index: src/bootstrapper.cc
|
| diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
|
| index eb06ff17a3e38b139019522152360d478422e55d..0b840a5f4aca880456182ccf5abdd719f7b81987 100644
|
| --- a/src/bootstrapper.cc
|
| +++ b/src/bootstrapper.cc
|
| @@ -4214,6 +4214,8 @@ bool Genesis::InstallNatives(GlobalContextType context_type) {
|
| factory()->NewStringFromAsciiChecked("createPromise"));
|
| InstallFunction(extras_utils, isolate()->promise_resolve(),
|
| factory()->NewStringFromAsciiChecked("resolvePromise"));
|
| + InstallFunction(extras_utils, isolate()->is_promise(),
|
| + factory()->NewStringFromAsciiChecked("isPromise"));
|
|
|
| int builtin_index = Natives::GetDebuggerCount();
|
| // Only run prologue.js and runtime.js at this point.
|
|
|