Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: src/ast/ast.h

Issue 2081733004: Rip out most of our outdated modules implementation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/accessors.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index 71a2459d1824b8efe5aa145c51d9f6c75dd917c2..129147b13ce3fcecf4cf5b948eb92b0ea8a568b5 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -40,8 +40,7 @@ namespace internal {
#define DECLARATION_NODE_LIST(V) \
V(VariableDeclaration) \
V(FunctionDeclaration) \
- V(ImportDeclaration) \
- V(ExportDeclaration)
+ V(ImportDeclaration)
#define STATEMENT_NODE_LIST(V) \
V(Block) \
@@ -603,20 +602,6 @@ class ImportDeclaration final : public Declaration {
};
-class ExportDeclaration final : public Declaration {
- public:
- DECLARE_NODE_TYPE(ExportDeclaration)
-
- InitializationFlag initialization() const override {
- return kCreatedInitialized;
- }
-
- protected:
- ExportDeclaration(Zone* zone, VariableProxy* proxy, Scope* scope, int pos)
- : Declaration(zone, proxy, LET, scope, pos) {}
-};
-
-
class Module : public AstNode {
public:
ModuleDescriptor* descriptor() const { return descriptor_; }
@@ -3117,13 +3102,6 @@ class AstNodeFactory final BASE_EMBEDDED {
parser_zone_, proxy, import_name, module_specifier, scope, pos);
}
- ExportDeclaration* NewExportDeclaration(VariableProxy* proxy,
- Scope* scope,
- int pos) {
- return new (parser_zone_)
- ExportDeclaration(parser_zone_, proxy, scope, pos);
- }
-
Block* NewBlock(ZoneList<const AstRawString*>* labels, int capacity,
bool ignore_completion_value, int pos) {
return new (local_zone_)
« no previous file with comments | « src/accessors.cc ('k') | src/ast/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698