Home | History | Annotate | Download | only in src

Lines Matching refs:descriptor

41 Name* MapUpdater::GetKey(int descriptor) const {
42 return old_descriptors_->GetKey(descriptor);
45 PropertyDetails MapUpdater::GetDetails(int descriptor) const {
46 DCHECK_LE(0, descriptor);
47 if (descriptor == modified_descriptor_) {
51 return old_descriptors_->GetDetails(descriptor);
54 Object* MapUpdater::GetValue(int descriptor) const {
55 DCHECK_LE(0, descriptor);
56 if (descriptor == modified_descriptor_) {
60 DCHECK_EQ(kDescriptor, GetDetails(descriptor).location());
61 return old_descriptors_->GetStrongValue(descriptor);
64 FieldType* MapUpdater::GetFieldType(int descriptor) const {
65 DCHECK_LE(0, descriptor);
66 if (descriptor == modified_descriptor_) {
70 DCHECK_EQ(kField, GetDetails(descriptor).location());
71 return old_descriptors_->GetFieldType(descriptor);
75 int descriptor, PropertyLocation location,
77 DCHECK_LE(0, descriptor);
78 // |location| is just a pre-fetched GetDetails(descriptor).location().
79 DCHECK_EQ(location, GetDetails(descriptor).location());
81 return handle(GetFieldType(descriptor), isolate_);
83 return GetValue(descriptor)->OptimalType(isolate_, representation);
88 Handle<DescriptorArray> descriptors, int descriptor,
90 // |location| is just a pre-fetched GetDetails(descriptor).location().
91 DCHECK_EQ(descriptors->GetDetails(descriptor).location(), location);
93 return handle(descriptors->GetFieldType(descriptor), isolate_);
95 return descriptors->GetStrongValue(descriptor)
100 Handle<Map> MapUpdater::ReconfigureToDataField(int descriptor,
106 DCHECK_LE(0, descriptor);
108 modified_descriptor_ = descriptor;
117 // representation/field type from the old descriptor.
226 // Check that the descriptor array was updated.
438 // Allocate a new descriptor array large enough to hold the required
439 // descriptors, with minimally the exact same size as the old descriptor
463 Descriptor d(handle(GetKey(i), isolate_),
523 Descriptor d;
525 d = Descriptor::DataField(key, current_offset, next_attributes,
539 Descriptor d;
542 d = Descriptor::DataConstant(key, value, next_attributes);
545 d = Descriptor::AccessorConstant(key, value, next_attributes);
563 Descriptor d;
577 Descriptor d;
581 d = Descriptor::DataField(key, current_offset, next_attributes,
596 d = Descriptor::DataConstant(key, value, next_attributes);
599 d = Descriptor::AccessorConstant(key, value, next_attributes);
664 // contains entry for given descriptor. This means that the transition