Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 0b7f60a908f07f45efe0b2a48c26e1362f74a76d..0975a0364138bb6708a8326269ed9abeab90f425 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -6522,13 +6522,6 @@ void JSArray::Expand(int required_size) { |
} |
-// Computes the new capacity when expanding the elements of a JSObject. |
-static int NewElementsCapacity(int old_capacity) { |
- // (old_capacity + 50%) + 16 |
- return old_capacity + (old_capacity >> 1) + 16; |
-} |
- |
- |
static Failure* ArrayLengthRangeError() { |
HandleScope scope; |
return Top::Throw(*Factory::NewRangeError("invalid_array_length", |