Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 544889ce50da517a5d211203c8d7ad5614702a3a..f4d5f6dc139c5c88cf197c1e6239e103f9ddcfbd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7945,6 +7945,9 @@ class Module : public Struct { |
// Storage for [[Evaluated]] |
DECL_INT_ACCESSORS(flags) |
+ // Embedder-specified data |
+ DECL_ACCESSORS(embedder_data, Object) |
+ |
static void CreateExport(Handle<Module> module, Handle<FixedArray> names); |
static void StoreExport(Handle<Module> module, Handle<String> name, |
Handle<Object> value); |
@@ -7954,7 +7957,8 @@ class Module : public Struct { |
static const int kExportsOffset = kCodeOffset + kPointerSize; |
static const int kRequestedModulesOffset = kExportsOffset + kPointerSize; |
static const int kFlagsOffset = kRequestedModulesOffset + kPointerSize; |
- static const int kSize = kFlagsOffset + kPointerSize; |
+ static const int kEmbedderDataOffset = kFlagsOffset + kPointerSize; |
+ static const int kSize = kEmbedderDataOffset + kPointerSize; |
private: |
enum { kEvaluatedBit }; |