Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 9bc1013d4d70d24a2f74d25f7fd99675fd396b5f..44797525ca5153c7f96c9387ff22e33deba30717 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -855,6 +855,11 @@ class ModuleScope final : public DeclarationScope { |
public: |
ModuleScope(DeclarationScope* script_scope, |
AstValueFactory* ast_value_factory); |
+ |
+ // Deserialization. |
+ // The generated ModuleDescriptor does not preserve all information. In |
+ // particular, its module_requests map will be empty because we no longer need |
+ // the map after parsing. |
ModuleScope(Isolate* isolate, Handle<ScopeInfo> scope_info, |
AstValueFactory* ast_value_factory); |