Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index d69dfcc8267a1b38828dab952baf4cfd41602c2a..cb0dd62e00e5ffb38f278d302f2ce293f818af12 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1331,6 +1331,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
SimpleInstallFunction(isolate->initial_object_prototype(), |
"__lookupSetter__", Builtins::kObjectLookupSetter, 1, |
true); |
+ SimpleInstallFunction(isolate->initial_object_prototype(), "isPrototypeOf", |
+ Builtins::kObjectPrototypeIsPrototypeOf, 1, true); |
SimpleInstallFunction( |
isolate->initial_object_prototype(), "propertyIsEnumerable", |
Builtins::kObjectPrototypePropertyIsEnumerable, 1, false); |