| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index faee6b6ba6514476b1f673c9babe6f1163c733f7..a28067783cdf6029bf9d43f5c31463ab418df2df 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7843,6 +7843,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;
|
| @@ -7860,10 +7864,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
|
|
|