| Index: src/property-details.h
|
| diff --git a/src/property-details.h b/src/property-details.h
|
| index c79aa969d344d1e795d79d9deb63329561c90fd3..81f521a627ac77457675ef9fb1f4dd8e55dfaa37 100644
|
| --- a/src/property-details.h
|
| +++ b/src/property-details.h
|
| @@ -73,6 +73,26 @@ enum PropertyType {
|
| };
|
|
|
|
|
| +inline bool IsRealProperty(PropertyType type) {
|
| + switch (type) {
|
| + case NORMAL:
|
| + case FIELD:
|
| + case CONSTANT_FUNCTION:
|
| + case CALLBACKS:
|
| + case HANDLER:
|
| + case INTERCEPTOR:
|
| + return true;
|
| + case MAP_TRANSITION:
|
| + case ELEMENTS_TRANSITION:
|
| + case CONSTANT_TRANSITION:
|
| + case NULL_DESCRIPTOR:
|
| + return false;
|
| + }
|
| + UNREACHABLE(); // keep the compiler happy
|
| + return false;
|
| +}
|
| +
|
| +
|
| // PropertyDetails captures type and attributes for a property.
|
| // They are used both in property dictionaries and instance descriptors.
|
| class PropertyDetails BASE_EMBEDDED {
|
|
|