Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index ba5e3c8998c0d55372c211b79227ece1499364f3..aa851f1c88a468a68f3540f2ceee56a085dc2ff8 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -111,14 +111,6 @@ class MapTransitionDescriptor: public Descriptor { |
: Descriptor(key, map, attributes, MAP_TRANSITION) { } |
}; |
-class ElementsTransitionDescriptor: public Descriptor { |
- public: |
- ElementsTransitionDescriptor(String* key, |
- Object* map_or_array) |
- : Descriptor(key, map_or_array, PropertyDetails(NONE, |
- ELEMENTS_TRANSITION)) { } |
-}; |
- |
// Marks a field name in a map so that adding the field is guaranteed |
// to create a FIELD descriptor in the new map. Used after adding |
// a constant function the first time, creating a CONSTANT_FUNCTION |
@@ -180,7 +172,6 @@ bool IsPropertyDescriptor(T* desc) { |
AccessorPair::cast(callback_object)->ContainsAccessor()); |
} |
case MAP_TRANSITION: |
- case ELEMENTS_TRANSITION: |
case CONSTANT_TRANSITION: |
case NULL_DESCRIPTOR: |
return false; |
@@ -311,7 +302,6 @@ class LookupResult BASE_EMBEDDED { |
Map* GetTransitionMap() { |
ASSERT(lookup_type_ == DESCRIPTOR_TYPE); |
ASSERT(type() == MAP_TRANSITION || |
- type() == ELEMENTS_TRANSITION || |
type() == CONSTANT_TRANSITION); |
return Map::cast(GetValue()); |
} |