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

Unified Diff: src/objects.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/ast/scopes.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 9486a34e44c296f5327303e5454bd75872467970..34dcebd0d50ff958f24f00a566a852822ea09759 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4574,7 +4574,8 @@ class ModuleInfoEntry : public FixedArray {
class ModuleInfo : public FixedArray {
public:
DECLARE_CAST(ModuleInfo)
- static Handle<ModuleInfo> New(Isolate* isolate, ModuleDescriptor* descr);
+ static Handle<ModuleInfo> New(Isolate* isolate, Zone* zone,
+ ModuleDescriptor* descr);
inline FixedArray* module_requests() const;
inline FixedArray* special_exports() const;
inline FixedArray* regular_exports() const;
@@ -7936,7 +7937,7 @@ class Module : public Struct {
// Storage for [[Evaluated]]
DECL_INT_ACCESSORS(flags)
- static void CreateExport(Handle<Module> module, Handle<String> name);
+ static void CreateExport(Handle<Module> module, Handle<FixedArray> names);
static void StoreExport(Handle<Module> module, Handle<String> name,
Handle<Object> value);
static Handle<Object> LoadExport(Handle<Module> module, Handle<String> name);
« no previous file with comments | « src/ast/scopes.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698