• Home
  • Raw
  • Download

Lines Matching refs:modify_index

2091 void Map::PrintReconfiguration(FILE* file, int modify_index, PropertyKind kind,  in PrintReconfiguration()  argument
2095 Name* name = instance_descriptors()->GetKey(modify_index); in PrintReconfiguration()
2110 int modify_index, in PrintGeneralization() argument
2120 Name* name = instance_descriptors()->GetKey(modify_index); in PrintGeneralization()
3053 Handle<Map> map, int modify_index, StoreMode store_mode, PropertyKind kind, in CopyGeneralizeAllRepresentations() argument
3075 if (modify_index >= 0) { in CopyGeneralizeAllRepresentations()
3076 PropertyDetails details = descriptors->GetDetails(modify_index); in CopyGeneralizeAllRepresentations()
3081 DataDescriptor d(handle(descriptors->GetKey(modify_index), isolate), in CopyGeneralizeAllRepresentations()
3083 descriptors->Replace(modify_index, &d); in CopyGeneralizeAllRepresentations()
3098 ? map->instance_descriptors()->GetFieldType(modify_index) in CopyGeneralizeAllRepresentations()
3101 stdout, reason, modify_index, new_map->NumberOfOwnDescriptors(), in CopyGeneralizeAllRepresentations()
3279 void Map::GeneralizeFieldType(Handle<Map> map, int modify_index, in GeneralizeFieldType() argument
3287 old_descriptors->GetDetails(modify_index).representation(); in GeneralizeFieldType()
3288 Handle<HeapType> old_field_type(old_descriptors->GetFieldType(modify_index), in GeneralizeFieldType()
3303 Handle<Map> field_owner(map->FindFieldOwner(modify_index), isolate); in GeneralizeFieldType()
3306 DCHECK_EQ(*old_field_type, descriptors->GetFieldType(modify_index)); in GeneralizeFieldType()
3312 PropertyDetails details = descriptors->GetDetails(modify_index); in GeneralizeFieldType()
3313 Handle<Name> name(descriptors->GetKey(modify_index)); in GeneralizeFieldType()
3316 field_owner->UpdateFieldType(modify_index, name, new_representation, in GeneralizeFieldType()
3324 modify_index, map->NumberOfOwnDescriptors(), in GeneralizeFieldType()
3377 Handle<Map> Map::ReconfigureProperty(Handle<Map> old_map, int modify_index, in ReconfigureProperty() argument
3384 DCHECK(store_mode != FORCE_FIELD || modify_index >= 0); in ReconfigureProperty()
3396 if (modify_index >= 0 && !new_representation.IsNone() && in ReconfigureProperty()
3398 PropertyDetails old_details = old_descriptors->GetDetails(modify_index); in ReconfigureProperty()
3407 stdout, "uninitialized field", modify_index, in ReconfigureProperty()
3410 new_representation, old_descriptors->GetFieldType(modify_index), in ReconfigureProperty()
3413 Handle<Map> field_owner(old_map->FindFieldOwner(modify_index), isolate); in ReconfigureProperty()
3415 GeneralizeFieldType(field_owner, modify_index, new_representation, in ReconfigureProperty()
3417 DCHECK(old_descriptors->GetDetails(modify_index) in ReconfigureProperty()
3421 old_descriptors->GetFieldType(modify_index)->NowIs(new_field_type)); in ReconfigureProperty()
3429 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3441 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3446 if (modify_index >= 0 && modify_index < root_nof) { in ReconfigureProperty()
3447 PropertyDetails old_details = old_descriptors->GetDetails(modify_index); in ReconfigureProperty()
3450 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3456 (!new_field_type->NowIs(old_descriptors->GetFieldType(modify_index)) || in ReconfigureProperty()
3458 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3478 if (modify_index == i) { in ReconfigureProperty()
3514 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3528 if (modify_index == i) { in ReconfigureProperty()
3562 (modify_index >= 0 && in ReconfigureProperty()
3563 target_descriptors->GetDetails(modify_index).location() == kField))) { in ReconfigureProperty()
3565 if (modify_index >= 0) { in ReconfigureProperty()
3566 PropertyDetails details = target_descriptors->GetDetails(modify_index); in ReconfigureProperty()
3572 target_descriptors->GetFieldType(modify_index))); in ReconfigureProperty()
3586 if (modify_index == i) { in ReconfigureProperty()
3609 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3657 if (modify_index == i) { in ReconfigureProperty()
3700 if (modify_index == i) { in ReconfigureProperty()
3749 if (modify_index == i) { in ReconfigureProperty()
3773 if (modify_index == i) { in ReconfigureProperty()
3811 new_descriptors->GetDetails(modify_index).location() == kField); in ReconfigureProperty()
3820 if (modify_index == split_nof) { in ReconfigureProperty()
3842 return CopyGeneralizeAllRepresentations(old_map, modify_index, store_mode, in ReconfigureProperty()
3849 if (FLAG_trace_generalization && modify_index >= 0) { in ReconfigureProperty()
3850 PropertyDetails old_details = old_descriptors->GetDetails(modify_index); in ReconfigureProperty()
3851 PropertyDetails new_details = new_descriptors->GetDetails(modify_index); in ReconfigureProperty()
3854 ? handle(old_descriptors->GetFieldType(modify_index), isolate) in ReconfigureProperty()
3856 handle(old_descriptors->GetValue(modify_index), isolate), in ReconfigureProperty()
3860 ? handle(new_descriptors->GetFieldType(modify_index), isolate) in ReconfigureProperty()
3862 handle(new_descriptors->GetValue(modify_index), isolate), in ReconfigureProperty()
3865 stdout, "", modify_index, split_nof, old_nof, in ReconfigureProperty()