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

Unified Diff: src/objects.h

Issue 2021373002: Refactor Maps' code_cache (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: windows don't want no constexpr Created 4 years, 7 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 | « src/heap/object-stats.cc ('k') | 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 631615a50d72333387e15b60f2cd6ed013c52d17..362944a71af701125f84525efc237e1bca2f682e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -5841,7 +5841,7 @@ class Map: public HeapObject {
LayoutDescriptor* layout_descriptor);
// [stub cache]: contains stubs compiled for this map.
- DECL_ACCESSORS(code_cache, Object)
+ DECL_ACCESSORS(code_cache, FixedArray)
// [dependent code]: list of optimized codes that weakly embed this map.
DECL_ACCESSORS(dependent_code, DependentCode)
@@ -8140,9 +8140,6 @@ class CodeCacheHashTable: public HashTable<CodeCacheHashTable,
DECLARE_CAST(CodeCacheHashTable)
- // Initial size of the fixed array backing the hash table.
- static const int kInitialSize = 16;
-
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(CodeCacheHashTable);
};
« no previous file with comments | « src/heap/object-stats.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698