Lines Matching defs:descriptor
16 #include "src/objects/descriptor-array.h"
442 // Ensure the descriptor array does not get too big.
473 // Ensure the descriptor array does not get too big.
589 // proper sharing of descriptor arrays.
592 // Don't overwrite the empty descriptor array or initial map's descriptors.
635 Map Map::FindFieldOwner(Isolate* isolate, InternalIndex descriptor) const {
639 .GetDetails(descriptor)
646 if (parent.NumberOfOwnDescriptors() <= descriptor.as_int()) break;
815 // that the maps to which we push the new descriptor array back can rely
1370 Descriptor* descriptor) {
1371 // Sanity check. This path is only to be taken if the map owns its descriptor
1373 // descriptors in the descriptor array.
1378 Handle<Name> name = descriptor->GetKey();
1385 // Ensure there's space for the new descriptor in the shared descriptor array.
1399 descriptors->Append(descriptor);
1477 // starting from descriptor with index |split_map|.NumberOfOwnDescriptors().
1488 // This is necessary to guarantee that GC will mark the whole descriptor
1491 // descriptor could unnecessarily be in slow mode but we will fix after
1640 // copying the map; creating a new descriptor array cell.
1764 bool CanHoldValue(DescriptorArray descriptors, InternalIndex descriptor,
1766 PropertyDetails details = descriptors.GetDetails(descriptor);
1771 descriptors.GetFieldType(descriptor).NowContains(value);
1787 InternalIndex descriptor,
1790 if (CanHoldValue(map->instance_descriptors(isolate), descriptor, constness,
1796 map->instance_descriptors(isolate).GetDetails(descriptor).attributes();
1801 return mu.ReconfigureToDataField(descriptor, attributes, constness,
1809 InternalIndex descriptor,
1816 return UpdateDescriptorForValue(isolate, map, descriptor, constness, value);
1840 InternalIndex descriptor = transition->LastAdded();
1843 .GetDetails(descriptor)
1846 return UpdateDescriptorForValue(isolate, transition, descriptor, constness,
1906 InternalIndex descriptor,
1960 if (descriptor.is_found()) {
1961 if (descriptor != map->LastAdded()) {
1964 PropertyDetails old_details = old_descriptors.GetDetails(descriptor);
1974 Handle<Object> maybe_pair(old_descriptors.GetStrongValue(descriptor),
2018 Descriptor* descriptor,
2027 return ShareDescriptor(isolate, map, descriptors, descriptor);
2033 new_descriptors->Append(descriptor);
2036 descriptor->GetKey(), "CopyAddDescriptor",
2041 Descriptor* descriptor,
2048 old_descriptors->SearchWithCache(isolate, *descriptor->GetKey(), *map);
2050 return CopyReplaceDescriptor(isolate, map, old_descriptors, descriptor,
2053 return CopyAddDescriptor(isolate, map, descriptor, flag);
2058 Descriptor* descriptor,
2061 Handle<Name> key = descriptor->GetKey();
2065 DCHECK_NE(PropertyLocation::kField, descriptor->GetDetails().location());
2072 new_descriptors->Replace(insertion_index, descriptor);