| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 2578)
|
| +++ src/objects.h (working copy)
|
| @@ -1584,8 +1584,11 @@
|
| PropertyAttributes attributes);
|
|
|
| // Convert the object to use the canonical dictionary
|
| - // representation.
|
| - Object* NormalizeProperties(PropertyNormalizationMode mode);
|
| + // representation. If the object is expected to have additional properties
|
| + // added this number can be indicated to have the backing store allocated to
|
| + // an initial capacity for holding these properties.
|
| + Object* NormalizeProperties(PropertyNormalizationMode mode,
|
| + int expected_additional_properties);
|
| Object* NormalizeElements();
|
|
|
| // Transform slow named properties to fast variants.
|
|
|