Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 835ac7a88f36ae2fd4adaa8a7b39ad9d31b38603..2f9a7c6c2db4f1b456470731c6c017315a1fba23 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1098,6 +1098,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Handle<JSFunction> object_freeze = SimpleInstallFunction( |
object_function, "freeze", Builtins::kObjectFreeze, 1, false); |
native_context()->set_object_freeze(*object_freeze); |
+ SimpleInstallFunction(object_function, "getOwnPropertyDescriptor", |
+ Builtins::kObjectGetOwnPropertyDescriptor, 2, false); |
SimpleInstallFunction(object_function, "getOwnPropertyNames", |
Builtins::kObjectGetOwnPropertyNames, 1, false); |
SimpleInstallFunction(object_function, "getOwnPropertySymbols", |