Home
last modified time | relevance | path

Searched refs:PropertyConstness (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/
Dproperty-details.h79 enum class PropertyConstness { kMutable = 0, kConst = 1 }; enum
82 const PropertyConstness kDefaultFieldConstness =
83 FLAG_track_constant_fields ? PropertyConstness::kConst
84 : PropertyConstness::kMutable;
246 PropertyLocation location, PropertyConstness constness,
281 PropertyDetails CopyWithConstness(PropertyConstness constness) const { in CopyWithConstness()
304 PropertyConstness constness() const { return ConstnessField::decode(value_); } in constness()
340 : public BitField<PropertyConstness, LocationField::kNext, 1> {};
398 PropertyDetails(int value, PropertyConstness constness) { in PropertyDetails()
416 inline bool IsGeneralizableTo(PropertyConstness a, PropertyConstness b) { in IsGeneralizableTo()
[all …]
Dproperty.cc30 PropertyLocation location, PropertyConstness constness, in Descriptor()
50 return DataField(key, field_index, attributes, PropertyConstness::kMutable, in DataField()
56 PropertyConstness constness, in DataField()
68 kDescriptor, PropertyConstness::kConst, in DataConstant()
77 return DataField(key, field_index, attributes, PropertyConstness::kConst, in DataConstant()
82 kDescriptor, PropertyConstness::kConst, in DataConstant()
91 kDescriptor, PropertyConstness::kConst, in AccessorConstant()
98 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsSlowTo()
107 if (constness() == PropertyConstness::kConst) os << "const "; in PrintAsFastTo()
Dmap-updater.h54 PropertyConstness constness,
142 PropertyConstness new_constness,
163 PropertyConstness new_constness_ = PropertyConstness::kMutable;
Dmap-updater.cc102 PropertyConstness constness, in ReconfigureToDataField()
135 new_constness_ = PropertyConstness::kMutable; in ReconfigureToDataField()
177 PropertyConstness new_constness, in GeneralizeField()
339 PropertyConstness tmp_constness = tmp_details.constness(); in FindTargetMap()
355 PropertyConstness constness = in FindTargetMap()
481 PropertyConstness next_constness = GeneralizeConstness( in BuildDescriptorArray()
495 next_constness = PropertyConstness::kMutable; in BuildDescriptorArray()
498 DCHECK_IMPLIES(next_constness == PropertyConstness::kMutable, in BuildDescriptorArray()
536 DCHECK_EQ(PropertyConstness::kConst, next_constness); in BuildDescriptorArray()
559 PropertyConstness next_constness = old_details.constness(); in BuildDescriptorArray()
[all …]
Dproperty.h41 PropertyConstness constness,
66 PropertyConstness constness, Representation representation,
Dlookup.cc115 PropertyConstness::kConst, value); in ForTransitionHandler()
427 PropertyConstness new_constness = PropertyConstness::kConst; in PrepareForDataProperty()
429 if (constness() == PropertyConstness::kConst) { in PrepareForDataProperty()
434 new_constness = PropertyConstness::kMutable; in PrepareForDataProperty()
437 new_constness = PropertyConstness::kMutable; in PrepareForDataProperty()
487 PropertyConstness::kMutable, value); in ReconfigureDataProperty()
862 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in IsConstFieldValueEqualTo()
979 PropertyConstness::kConst, in WriteDataValue()
985 DCHECK_EQ(PropertyConstness::kConst, property_details_.constness()); in WriteDataValue()
Dlookup.h188 PropertyConstness constness() const { return property_details().constness(); } in constness()
Dobjects.cc3939 PropertyConstness constness, in CopyWithField()
3955 constness = PropertyConstness::kMutable; in CopyWithField()
3966 constness == PropertyConstness::kMutable); in CopyWithField()
3988 PropertyConstness::kConst, representation, flag); in CopyWithConstant()
4556 details = details.CopyWithConstness(PropertyConstness::kMutable); in GeneralizeAllFields()
4583 if (details.constness() != PropertyConstness::kMutable || in CopyGeneralizeAllFields()
4692 PropertyConstness new_constness, in UpdateFieldType()
4731 new_constness == PropertyConstness::kMutable); in UpdateFieldType()
4764 PropertyConstness new_constness, in GeneralizeField()
4770 PropertyConstness old_constness = old_details.constness(); in GeneralizeField()
[all …]
/external/v8/src/objects/
Dmap.h480 int modify_index, PropertyConstness new_constness,
485 static inline bool IsInplaceGeneralizableField(PropertyConstness constness,
498 PropertyConstness* constness, Representation* representation,
514 PropertyConstness constness,
664 PropertyConstness constness, Representation representation,
701 PropertyConstness constness,
946 Handle<Name> name, PropertyConstness new_constness,
Dmap-inl.h85 bool Map::IsInplaceGeneralizableField(PropertyConstness constness, in IsInplaceGeneralizableField()
89 (constness == PropertyConstness::kConst)) { in IsInplaceGeneralizableField()
111 Isolate* isolate, InstanceType instance_type, PropertyConstness* constness, in GeneralizeIfCanHaveTransitionableFastElementsKind()
123 *constness = PropertyConstness::kMutable; in GeneralizeIfCanHaveTransitionableFastElementsKind()
/external/v8/src/ic/
Dhandler-configuration-inl.h162 PropertyConstness constness, in StoreField()
165 constness == PropertyConstness::kMutable); in StoreField()
166 Kind kind = constness == PropertyConstness::kMutable ? kField : kConstField; in StoreField()
Dhandler-configuration.h252 PropertyConstness constness,
Dic.cc1636 PropertyConstness constness = lookup->constness(); in ComputeHandler()
1637 if (constness == PropertyConstness::kConst && in ComputeHandler()
1642 constness = PropertyConstness::kMutable; in ComputeHandler()
/external/v8/src/compiler/
Daccess-info.cc89 PropertyConstness constness, MapHandles const& receiver_maps, in DataField()
94 constness == PropertyConstness::kConst ? kDataConstantField : kDataField; in DataField()
653 PropertyConstness::kMutable, MapHandles{map}, field_index, in LookupSpecialFieldAccessor()
712 PropertyConstness::kMutable, MapHandles{map}, field_index, in LookupTransition()
Daccess-info.h77 PropertyConstness constness, MapHandles const& receiver_maps,