Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 60947e3f82a8d2350477559084f3001a05d4c2f9..ced367a4f1223585edbf85a1f51f8ed0a011fbde 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7820,6 +7820,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; |
@@ -7837,10 +7841,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 |