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

Unified Diff: src/bootstrapper.cc

Issue 1268333004: Introduce object visitor to estimate the size of a native context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« src/api.cc ('K') | « src/api.cc ('k') | src/context-measure.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 37beeff7dd361fe53539ff55b07bcae82976100b..c46cc2e525455951a6f7f0613e0e3153eb113b33 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -2408,8 +2408,7 @@ bool Genesis::InstallNatives(ContextType context_type) {
InstallNativeFunctions();
auto function_cache =
- ObjectHashTable::New(isolate(), ApiNatives::kInitialFunctionCacheSize,
- USE_CUSTOM_MINIMUM_CAPACITY);
+ ObjectHashTable::New(isolate(), ApiNatives::kInitialFunctionCacheSize);
jochen (gone - plz use gerrit) 2015/08/05 11:39:46 unrelated?
native_context()->set_function_cache(*function_cache);
// Store the map for the string prototype after the natives has been compiled
« src/api.cc ('K') | « src/api.cc ('k') | src/context-measure.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698