Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: src/objects.h

Issue 2181303002: [ic] Avoid memory wasting when allocating names table of type feedback metadata. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index be7d81d368f93b25d488524fbbbf3cc4b73f651d..510f4e93bff99d6a166bd902d3e06abcdd82a529 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -3512,9 +3512,9 @@ class Dictionary: public HashTable<Derived, Shape, Key> {
// Creates a new dictionary.
MUST_USE_RESULT static Handle<Derived> New(
- Isolate* isolate,
- int at_least_space_for,
- PretenureFlag pretenure = NOT_TENURED);
+ Isolate* isolate, int at_least_space_for,
+ PretenureFlag pretenure = NOT_TENURED,
+ MinimumCapacity capacity_option = USE_DEFAULT_MINIMUM_CAPACITY);
// Ensures that a new dictionary is created when the capacity is checked.
void SetRequiresCopyOnCapacityChange();
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698