Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 78f30efca3e75ba903a19085b784b44fa1730b18..6bf52a701902761f0f30d9288ef816eb6c2a2b10 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -65,10 +65,11 @@ class Descriptor BASE_EMBEDDED { |
#endif |
void SetEnumerationIndex(int index) { |
- ASSERT(PropertyDetails::IsValidIndex(index)); |
details_ = PropertyDetails(details_.attributes(), details_.type(), index); |
} |
+ void SetSortedKey(int index) { details_ = details_.set_pointer(index); } |
+ |
private: |
String* key_; |
Object* value_; |