Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 906df70dcc0cbecbd529b552880e365c7ac3ef43..56273e64b133dcadc8957b2ca192ab0f77ea7d2a 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5761,6 +5761,7 @@ ACCESSORS(Module, regular_exports, FixedArray, kRegularExportsOffset) |
ACCESSORS(Module, regular_imports, FixedArray, kRegularImportsOffset) |
ACCESSORS(Module, module_namespace, HeapObject, kModuleNamespaceOffset) |
ACCESSORS(Module, requested_modules, FixedArray, kRequestedModulesOffset) |
+ACCESSORS(Module, script, Object, kScriptOffset) |
SMI_ACCESSORS(Module, hash, kHashOffset) |
bool Module::evaluated() const { return code()->IsModuleInfo(); } |
@@ -5905,6 +5906,7 @@ ACCESSORS(Script, shared_function_infos, FixedArray, kSharedFunctionInfosOffset) |
SMI_ACCESSORS(Script, flags, kFlagsOffset) |
ACCESSORS(Script, source_url, Object, kSourceUrlOffset) |
ACCESSORS(Script, source_mapping_url, Object, kSourceMappingUrlOffset) |
+ACCESSORS(Script, module, Object, kModuleOffset) |
ACCESSORS_CHECKED(Script, wasm_compiled_module, Object, kEvalFromSharedOffset, |
this->type() == TYPE_WASM) |