Lines Matching refs:PropertyDetails
86 // Must fit in the BitField PropertyDetails::KindField.
90 // Must fit in the BitField PropertyDetails::LocationField.
94 // Must fit in the BitField PropertyDetails::ConstnessField.
263 // PropertyDetails captures type and attributes for a property.
265 class PropertyDetails {
268 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes,
282 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes,
293 constexpr PropertyDetails(PropertyKind kind, PropertyAttributes attributes,
304 static constexpr PropertyDetails Empty(
306 return PropertyDetails(PropertyKind::kData, NONE, cell_type);
309 bool operator==(PropertyDetails const& other) {
313 bool operator!=(PropertyDetails const& other) {
319 PropertyDetails set_pointer(int i) const {
320 return PropertyDetails(value_, i);
323 PropertyDetails set_cell_type(PropertyCellType type) const {
324 PropertyDetails details = *this;
329 PropertyDetails set_index(int index) const {
330 PropertyDetails details = *this;
335 PropertyDetails CopyWithRepresentation(Representation representation) const {
336 return PropertyDetails(value_, representation);
338 PropertyDetails CopyWithConstness(PropertyConstness constness) const {
339 return PropertyDetails(value_, constness);
341 PropertyDetails CopyAddAttributes(PropertyAttributes new_attributes) const {
344 return PropertyDetails(value_, new_attributes);
348 explicit inline PropertyDetails(Smi smi);
396 bool operator==(const PropertyDetails& b) const { return value_ == b.value_; }
474 // by the PropertyDetails:
482 static PropertyDetails FromByte(uint8_t encoded_details) {
486 PropertyDetails details(encoded_details);
494 PropertyDetails(int value, int pointer) {
497 PropertyDetails(int value, Representation representation) {
501 PropertyDetails(int value, PropertyConstness constness) {
504 PropertyDetails(int value, PropertyAttributes attributes) {
508 explicit PropertyDetails(uint32_t value) : value_{value} {}