Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 1b95d89321cfb8b11a1c98b4be94fb083e8d9c06..cdd90d96537c2896275b8c8f2c2e0a67495fc72f 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -7562,7 +7562,7 @@ Handle<Map> Map::CopyForFreeze(Handle<Map> map) { |
Isolate* isolate = map->GetIsolate(); |
Handle<DescriptorArray> new_desc = DescriptorArray::CopyUpToAddAttributes( |
handle(map->instance_descriptors(), isolate), num_descriptors, FROZEN); |
- Handle<Map> new_map = Map::CopyReplaceDescriptors( |
+ Handle<Map> new_map = CopyReplaceDescriptors( |
map, new_desc, INSERT_TRANSITION, isolate->factory()->frozen_symbol()); |
new_map->freeze(); |
new_map->set_is_extensible(false); |