Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 7e801bfd145b8764a3854efbda77662da13bea97..bf249067ed0fc3bf93f92c1f6597c52839be4d3a 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1956,7 +1956,7 @@ void Factory::ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, |
InitializeFunction(js_function, shared.ToHandleChecked(), context); |
} else { |
// Provide JSObjects with a constructor. |
- map->set_constructor(context->object_function()); |
+ map->SetConstructor(context->object_function()); |
} |
} |