Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index 6a84c448c3226adc21e5ed156f7d0d0515f7c044..135a079d26972237ea3101bfe1785a1f9270c935 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -212,6 +212,15 @@ class PropertyDetails BASE_EMBEDDED { |
| FieldIndexField::encode(field_index); |
} |
+ PropertyDetails(PropertyAttributes attributes, PropertyKind kind, |
+ PropertyLocation location, Representation representation, |
+ int field_index = 0) { |
+ value_ = KindField::encode(kind) | LocationField::encode(location) | |
+ AttributesField::encode(attributes) | |
+ RepresentationField::encode(EncodeRepresentation(representation)) | |
+ FieldIndexField::encode(field_index); |
+ } |
+ |
int pointer() const { return DescriptorPointer::decode(value_); } |
PropertyDetails set_pointer(int i) { return PropertyDetails(value_, i); } |