| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 0cfee84e9ee14192b5ec994640a2e5af6dc1b2d3..e417e32582a662be111d28aaf5af2bfd8944fd27 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -2033,7 +2033,7 @@ class JSObject: public JSReceiver {
|
| bool ShouldConvertToFastDoubleElements(bool* has_smi_only_elements);
|
|
|
| // Computes the new capacity when expanding the elements of a JSObject.
|
| - static int NewElementsCapacity(int old_capacity) {
|
| + static uint32_t NewElementsCapacity(uint32_t old_capacity) {
|
| // (old_capacity + 50%) + 16
|
| return old_capacity + (old_capacity >> 1) + 16;
|
| }
|
|
|