Lines Matching defs:descriptor
105 Name MapUpdater::GetKey(InternalIndex descriptor) const {
106 return old_descriptors_->GetKey(descriptor);
109 PropertyDetails MapUpdater::GetDetails(InternalIndex descriptor) const {
110 DCHECK(descriptor.is_found());
111 if (descriptor == modified_descriptor_) {
122 attributes = old_descriptors_->GetDetails(descriptor).attributes();
127 return old_descriptors_->GetDetails(descriptor);
130 Object MapUpdater::GetValue(InternalIndex descriptor) const {
131 DCHECK(descriptor.is_found());
132 if (descriptor == modified_descriptor_) {
136 DCHECK_EQ(PropertyLocation::kDescriptor, GetDetails(descriptor).location());
137 return old_descriptors_->GetStrongValue(descriptor);
140 FieldType MapUpdater::GetFieldType(InternalIndex descriptor) const {
141 DCHECK(descriptor.is_found());
142 if (descriptor == modified_descriptor_) {
146 DCHECK_EQ(PropertyLocation::kField, GetDetails(descriptor).location());
147 return old_descriptors_->GetFieldType(descriptor);
151 InternalIndex descriptor, PropertyLocation location,
153 DCHECK(descriptor.is_found());
154 // |location| is just a pre-fetched GetDetails(descriptor).location().
155 DCHECK_EQ(location, GetDetails(descriptor).location());
157 return handle(GetFieldType(descriptor), isolate_);
159 return GetValue(descriptor).OptimalType(isolate_, representation);
164 Handle<DescriptorArray> descriptors, InternalIndex descriptor,
166 // |location| is just a pre-fetched GetDetails(descriptor).location().
167 DCHECK_EQ(descriptors->GetDetails(descriptor).location(), location);
169 return handle(descriptors->GetFieldType(descriptor), isolate_);
171 return descriptors->GetStrongValue(descriptor)
176 Handle<Map> MapUpdater::ReconfigureToDataField(InternalIndex descriptor,
182 DCHECK(descriptor.is_found());
188 modified_descriptor_ = descriptor;
197 // representation/field type from the old descriptor.
500 // Check that the descriptor array was updated.
769 // Allocate a new descriptor array large enough to hold the required
770 // descriptors, with minimally the exact same size as the old descriptor
987 // contains entry for given descriptor. This means that the transition
1090 Isolate* isolate, Handle<Map> map, InternalIndex descriptor,
1105 PrintReconfiguration(isolate, map, stdout, descriptor, kind, attributes);
1109 descriptor, attributes, constness, Representation::None(),
1115 InternalIndex descriptor, Handle<Name> name,
1122 map->instance_descriptors(isolate).GetDetails(descriptor);
1144 details = descriptors.GetDetails(descriptor);
1151 // Skip if already updated the shared descriptor.
1154 descriptors.GetFieldType(descriptor) != *new_wrapped_type.object()) {
1156 name, descriptors.GetFieldIndex(descriptor), details.attributes(),
1158 descriptors.Replace(descriptor, &d);