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

Unified Diff: src/factory.cc

Issue 1846963002: Use a dictionary-mode code cache on the map rather than a dual system. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 85e7a438613bfb89d91f626a7eca2bc39626c2f4..0c4d700924db153f71fc3497ad55e196d19dd9c8 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -853,15 +853,6 @@ Handle<Struct> Factory::NewStruct(InstanceType type) {
}
-Handle<CodeCache> Factory::NewCodeCache() {
- Handle<CodeCache> code_cache =
- Handle<CodeCache>::cast(NewStruct(CODE_CACHE_TYPE));
- code_cache->set_default_cache(*empty_fixed_array(), SKIP_WRITE_BARRIER);
- code_cache->set_normal_type_cache(*undefined_value(), SKIP_WRITE_BARRIER);
- return code_cache;
-}
-
-
Handle<AliasedArgumentsEntry> Factory::NewAliasedArgumentsEntry(
int aliased_context_slot) {
Handle<AliasedArgumentsEntry> entry = Handle<AliasedArgumentsEntry>::cast(

Powered by Google App Engine
This is Rietveld 408576698