| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 6f86e94e4cc0fdb9fc57f072da1e1abe574ddd68..d84690fbd48c6b3418663960916d7987a84f6dfc 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2907,6 +2907,9 @@
|
| // number of elements. May be more than HashTable::kMaxCapacity.
|
| static inline int ComputeCapacity(int at_least_space_for);
|
|
|
| + // Use a different heuristic to compute capacity when serializing.
|
| + static inline int ComputeCapacityForSerialization(int at_least_space_for);
|
| +
|
| // Tells whether k is a real key. The hole and undefined are not allowed
|
| // as keys and can be used to indicate missing or deleted elements.
|
| bool IsKey(Object* k) {
|
|
|