Index: src/transitions.h |
diff --git a/src/transitions.h b/src/transitions.h |
index 1fcd3860d0bdc552490d42d00a84e97d41dbf26b..fc89c34719131aac70077cc60bddee59aea4557e 100644 |
--- a/src/transitions.h |
+++ b/src/transitions.h |
@@ -113,6 +113,7 @@ class TransitionArray: public FixedArray { |
Object* raw = proto_transitions->get(kProtoTransitionNumberOfEntriesOffset); |
return Smi::cast(raw)->value(); |
} |
+ static int NumberOfPrototypeTransitionsForTest(Map* map); |
static void SetNumberOfPrototypeTransitions(FixedArray* proto_transitions, |
int value); |
@@ -272,6 +273,11 @@ class TransitionArray: public FixedArray { |
static void SetPrototypeTransitions(Handle<Map> map, |
Handle<FixedArray> proto_transitions); |
+ static bool CompactPrototypeTransitionArray(FixedArray* array); |
+ |
+ static Handle<FixedArray> GrowPrototypeTransitionArray( |
+ Handle<FixedArray> array, int new_capacity, Isolate* isolate); |
+ |
// Compares two tuples <key, kind, attributes>, returns -1 if |
// tuple1 is "less" than tuple2, 0 if tuple1 equal to tuple2 and 1 otherwise. |
static inline int CompareKeys(Name* key1, uint32_t hash1, PropertyKind kind1, |