Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 6f799e2599aef030cf449847593b53787c8a8f02..cd353f1eb9bd22914107f93cf0f45e4f95dfc5eb 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1129,7 +1129,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(object_function, factory->assign_string(), |
Builtins::kObjectAssign, 2, false); |
SimpleInstallFunction(object_function, factory->create_string(), |
- Builtins::kObjectCreate, 2, false); |
+ Builtins::kObjectCreate, 2, true); |
SimpleInstallFunction(object_function, "getOwnPropertyDescriptor", |
Builtins::kObjectGetOwnPropertyDescriptor, 2, false); |
SimpleInstallFunction(object_function, "getOwnPropertyNames", |