Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9f2651c40f7985fe6bab498f7dd8a34c16554150..f2b6d01615459bff238507750ef8369712112a2a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3293,7 +3293,7 @@ class HashTable : public HashTableBase { |
PretenureFlag pretenure = NOT_TENURED); |
// Returns true if this table has sufficient capacity for adding n elements. |
- bool HasSufficientCapacity(int n); |
+ bool HasSufficientCapacityToAdd(int number_of_additional_elements); |
// Sets the capacity of the hash table. |
void SetCapacity(int capacity) { |