Index: src/api-natives.cc |
diff --git a/src/api-natives.cc b/src/api-natives.cc |
index 87138bd5cf7d2c4de4ca21d786aab7cf912966e9..045ff470ab232e0639a49a98b22379764c70e0c6 100644 |
--- a/src/api-natives.cc |
+++ b/src/api-natives.cc |
@@ -538,8 +538,6 @@ MaybeHandle<JSObject> ApiNatives::InstantiateRemoteObject( |
JSFunction::SetInitialMap(object_function, object_map, |
isolate->factory()->null_value()); |
object_map->set_is_access_check_needed(true); |
- object_map->set_is_callable(); |
- object_map->set_is_constructor(true); |
Handle<JSObject> object = isolate->factory()->NewJSObject(object_function); |
JSObject::ForceSetPrototype(object, isolate->factory()->null_value()); |