Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index ab41f8899e3cba48c71195852f6a4d93a0c1814c..ba5f4d5c1dc499c10852bbb42f229a67dc155812 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1257,6 +1257,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
JSObject::kHeaderSize, MaybeHandle<JSObject>(), |
Builtins::kFunctionPrototypeHasInstance, |
static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY)); |
+ has_instance->shared()->set_builtin_function_id(kFunctionHasInstance); |
native_context()->set_function_has_instance(*has_instance); |
// Set the expected parameters for @@hasInstance to 1; required by builtin. |