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

Unified Diff: src/factory.cc

Issue 2460353002: [modules] Make ModuleInfoEntry a Struct rather than FixedArray. (Closed)
Patch Set: Remove extra semicolons after macro use. Created 4 years, 1 month 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/compiler/types.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 749188f6bf27fc514b196624e82cf0e5d74a36ab..b3039048d8b4d4b93e2e939e6daf24d56f7b0f45 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1512,12 +1512,6 @@ Handle<ScopeInfo> Factory::NewScopeInfo(int length) {
return scope_info;
}
-Handle<ModuleInfoEntry> Factory::NewModuleInfoEntry() {
- Handle<FixedArray> array = NewFixedArray(ModuleInfoEntry::kLength, TENURED);
- array->set_map_no_write_barrier(*module_info_entry_map());
- return Handle<ModuleInfoEntry>::cast(array);
-}
-
Handle<ModuleInfo> Factory::NewModuleInfo() {
Handle<FixedArray> array = NewFixedArray(ModuleInfo::kLength, TENURED);
array->set_map_no_write_barrier(*module_info_map());
« no previous file with comments | « src/compiler/types.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698