Lines Matching refs:Descriptor
27 Name* MapUpdater::GetKey(int descriptor) const {
28 return old_descriptors_->GetKey(descriptor);
31 PropertyDetails MapUpdater::GetDetails(int descriptor) const {
32 DCHECK_LE(0, descriptor);
33 if (descriptor == modified_descriptor_) {
37 return old_descriptors_->GetDetails(descriptor);
40 Object* MapUpdater::GetValue(int descriptor) const {
41 DCHECK_LE(0, descriptor);
42 if (descriptor == modified_descriptor_) {
46 DCHECK_EQ(kDescriptor, GetDetails(descriptor).location());
47 return old_descriptors_->GetValue(descriptor);
50 FieldType* MapUpdater::GetFieldType(int descriptor) const {
51 DCHECK_LE(0, descriptor);
52 if (descriptor == modified_descriptor_) {
56 DCHECK_EQ(kField, GetDetails(descriptor).location());
57 return old_descriptors_->GetFieldType(descriptor);
61 int descriptor, PropertyLocation location,
63 DCHECK_LE(0, descriptor);
64 // |location| is just a pre-fetched GetDetails(descriptor).location().
65 DCHECK_EQ(location, GetDetails(descriptor).location());
67 return handle(GetFieldType(descriptor), isolate_);
69 return GetValue(descriptor)->OptimalType(isolate_, representation);
74 Handle<DescriptorArray> descriptors, int descriptor,
76 // |location| is just a pre-fetched GetDetails(descriptor).location().
77 DCHECK_EQ(descriptors->GetDetails(descriptor).location(), location);
79 return handle(descriptors->GetFieldType(descriptor), isolate_);
81 return descriptors->GetValue(descriptor)
86 Handle<Map> MapUpdater::ReconfigureToDataField(int descriptor,
92 DCHECK_LE(0, descriptor);
94 modified_descriptor_ = descriptor;
103 // representation/field type from the old descriptor.
206 // Check that the descriptor array was updated.
388 // Allocate a new descriptor array large enough to hold the required
389 // descriptors, with minimally the exact same size as the old descriptor
413 Descriptor d(handle(GetKey(i), isolate_),
466 Descriptor d;
468 d = Descriptor::DataField(key, current_offset, next_attributes,
482 Descriptor d;
485 d = Descriptor::DataConstant(key, value, next_attributes);
488 d = Descriptor::AccessorConstant(key, value, next_attributes);
506 Descriptor d;
512 Descriptor d;
515 d = Descriptor::DataField(key, current_offset, next_attributes,
530 d = Descriptor::DataConstant(key, value, next_attributes);
533 d = Descriptor::AccessorConstant(key, value, next_attributes);
597 // contains entry for given descriptor. This means that the transition