| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 947198b9caba452be8f2102519ae4849c7e15b2f..0c03575c1e74b792c729d8fc67ad43fdc13153cd 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6694,6 +6694,10 @@ class Module : public Struct {
|
| static Handle<JSModuleNamespace> GetModuleNamespace(Handle<Module> module,
|
| int module_request);
|
|
|
| + // Get the namespace object for [module]. If it doesn't exist yet, it is
|
| + // created.
|
| + static Handle<JSModuleNamespace> GetModuleNamespace(Handle<Module> module);
|
| +
|
| static const int kCodeOffset = HeapObject::kHeaderSize;
|
| static const int kExportsOffset = kCodeOffset + kPointerSize;
|
| static const int kRegularExportsOffset = kExportsOffset + kPointerSize;
|
| @@ -6711,10 +6715,6 @@ class Module : public Struct {
|
| static void CreateIndirectExport(Handle<Module> module, Handle<String> name,
|
| Handle<ModuleInfoEntry> entry);
|
|
|
| - // Get the namespace object for [module]. If it doesn't exist yet, it is
|
| - // created.
|
| - static Handle<JSModuleNamespace> GetModuleNamespace(Handle<Module> module);
|
| -
|
| // The [must_resolve] argument indicates whether or not an exception should be
|
| // thrown in case the module does not provide an export named [name]
|
| // (including when a cycle is detected). An exception is always thrown in the
|
|
|