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

Unified Diff: src/objects-inl.h

Issue 2353633002: [modules] Explicitly keep track of module requests. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/objects.h ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index ef26a91fa9713579b483fdcc24008f5526ca45fd..450aa32eb5c10560ab17c8b312592186089e1ee3 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -7943,6 +7943,10 @@ Object* ModuleInfoEntry::module_request() const {
return get(kModuleRequestIndex);
}
+FixedArray* ModuleInfo::module_requests() const {
+ return FixedArray::cast(get(kModuleRequestsIndex));
+}
+
FixedArray* ModuleInfo::special_exports() const {
return FixedArray::cast(get(kSpecialExportsIndex));
}
« no previous file with comments | « src/objects.h ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698