Index: src/ast/modules.h |
diff --git a/src/ast/modules.h b/src/ast/modules.h |
index 0ed3509bc1b9ecfd6a8b88bf2ef0576dfff2dba3..7e78ac2bad9927332d1ee64a5cc5dfa252d16c0d 100644 |
--- a/src/ast/modules.h |
+++ b/src/ast/modules.h |
@@ -14,7 +14,7 @@ |
class AstRawString; |
-class ModuleInfoEntry; |
+ |
class ModuleDescriptor : public ZoneObject { |
public: |
@@ -80,7 +80,6 @@ |
const AstRawString* import_name; |
const AstRawString* module_request; |
- // TODO(neis): Remove local_name component? |
explicit Entry(Scanner::Location loc) |
: location(loc), |
export_name(nullptr), |
@@ -88,12 +87,9 @@ |
import_name(nullptr), |
module_request(nullptr) {} |
- // (De-)serialization support. |
- // Note that the location value is not preserved as it's only needed by the |
- // parser. (A Deserialize'd entry has an invalid location.) |
- Handle<ModuleInfoEntry> Serialize(Isolate* isolate) const; |
+ Handle<FixedArray> Serialize(Isolate* isolate) const; |
static Entry* Deserialize(Isolate* isolate, AstValueFactory* avfactory, |
- Handle<ModuleInfoEntry> entry); |
+ Handle<FixedArray> data); |
}; |
// Empty imports and namespace imports. |