Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 3173b3b390dbc10ee2e2b1bf57c9242966d44f10..457e0fba077f9bc24890d78f6347253d8c0d379f 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -9036,7 +9036,7 @@ Handle<Map> Map::CopyInitialMap(Handle<Map> map, int instance_size, |
if (number_of_own_descriptors > 0) { |
// The copy will use the same descriptors array. |
result->UpdateDescriptors(map->instance_descriptors(), |
- map->layout_descriptor()); |
+ map->GetLayoutDescriptor()); |
result->SetNumberOfOwnDescriptors(number_of_own_descriptors); |
DCHECK_EQ(result->NumberOfFields(), |