Index: src/property-details.h |
diff --git a/src/property-details.h b/src/property-details.h |
index 135c2ca01321fb67fbadba602f7f47b6b6fb792e..5d3f14e07d70d1b30895282f68f8a175c6264551 100644 |
--- a/src/property-details.h |
+++ b/src/property-details.h |
@@ -73,26 +73,6 @@ enum PropertyType { |
}; |
-inline bool IsTransitionType(PropertyType type) { |
- switch (type) { |
- case MAP_TRANSITION: |
- case CONSTANT_TRANSITION: |
- case ELEMENTS_TRANSITION: |
- return true; |
- case NORMAL: |
- case FIELD: |
- case CONSTANT_FUNCTION: |
- case CALLBACKS: |
- case HANDLER: |
- case INTERCEPTOR: |
- case NULL_DESCRIPTOR: |
- return false; |
- } |
- UNREACHABLE(); // keep the compiler happy |
- return false; |
-} |
- |
- |
inline bool IsRealProperty(PropertyType type) { |
switch (type) { |
case NORMAL: |
@@ -139,12 +119,6 @@ class PropertyDetails BASE_EMBEDDED { |
PropertyType type() { return TypeField::decode(value_); } |
- bool IsTransition() { |
- PropertyType t = type(); |
- ASSERT(t != INTERCEPTOR); |
- return IsTransitionType(t); |
- } |
- |
bool IsProperty() { |
return IsRealProperty(type()); |
} |