Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 233571b0206370fd0d8e66edfa582c8c14d4a44b..32c0a7d2be277a7d4d1642b66965f5d925f88abe 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1890,7 +1890,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
{ // Internal: PromiseInternalConstructor |
Handle<JSFunction> function = |
SimpleCreateFunction(isolate, factory->empty_string(), |
- Builtins::kPromiseInternalConstructor, 0, false); |
+ Builtins::kPromiseInternalConstructor, 1, false); |
InstallWithIntrinsicDefaultProto( |
isolate, function, Context::PROMISE_INTERNAL_CONSTRUCTOR_INDEX); |
} |