| Index: src/property.h
|
| diff --git a/src/property.h b/src/property.h
|
| index 120734df9fc4e535b77e7a803700aef253fd7faa..979a5007a8f74a5c3e716d4c9e7bc2c3c631df49 100644
|
| --- a/src/property.h
|
| +++ b/src/property.h
|
| @@ -71,6 +71,8 @@ class Descriptor BASE_EMBEDDED {
|
| details_ = PropertyDetails(details_.attributes(), details_.type(), index);
|
| }
|
|
|
| + bool ContainsTransition();
|
| +
|
| private:
|
| String* key_;
|
| Object* value_;
|
| @@ -290,7 +292,9 @@ class LookupResult BASE_EMBEDDED {
|
|
|
| Map* GetTransitionMap() {
|
| ASSERT(lookup_type_ == DESCRIPTOR_TYPE);
|
| - ASSERT(IsTransitionType(type()));
|
| + ASSERT(type() == MAP_TRANSITION ||
|
| + type() == ELEMENTS_TRANSITION ||
|
| + type() == CONSTANT_TRANSITION);
|
| return Map::cast(GetValue());
|
| }
|
|
|
|
|