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

Unified Diff: src/ast/modules.h

Issue 2353403003: [modules] Support exporting a local variable under multiple export names. (Closed)
Patch Set: 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/api.cc ('k') | src/ast/modules.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/modules.h
diff --git a/src/ast/modules.h b/src/ast/modules.h
index 3e956c1e7cb4c70d97f6005e583e5487232e58da..e9a35646cdedec4806908342a4949af8ec68174b 100644
--- a/src/ast/modules.h
+++ b/src/ast/modules.h
@@ -155,6 +155,11 @@ class ModuleDescriptor : public ZoneObject {
special_imports_.Add(entry, zone);
}
+ Handle<FixedArray> SerializeRegularExports(Isolate* isolate,
+ Zone* zone) const;
+ void DeserializeRegularExports(Isolate* isolate, AstValueFactory* avfactory,
+ Handle<FixedArray> data);
+
private:
// TODO(neis): Use STL datastructure instead of ZoneList?
ZoneMap<const AstRawString*, int> module_requests_;
« no previous file with comments | « src/api.cc ('k') | src/ast/modules.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698