Index: src/rewriter.cc |
diff --git a/src/rewriter.cc b/src/rewriter.cc |
index 0720990b258435a3a5d4f666bd9e80d60fc836cb..4780538e1be140d1a583f9f3e69bca7f0c29ca2c 100644 |
--- a/src/rewriter.cc |
+++ b/src/rewriter.cc |
@@ -87,13 +87,6 @@ void Processor::VisitBlock(Block* node) { |
} |
-void Processor::VisitModuleStatement(ModuleStatement* node) { |
- bool set_after_body = is_set_; |
- Visit(node->body()); |
- is_set_ = is_set_ && set_after_body; |
-} |
- |
- |
void Processor::VisitExpressionStatement(ExpressionStatement* node) { |
// Rewrite : <x>; -> .result = <x>; |
if (!is_set_ && !node->expression()->IsThrow()) { |
@@ -201,12 +194,8 @@ void Processor::VisitWithStatement(WithStatement* node) { |
// Do nothing: |
void Processor::VisitVariableDeclaration(VariableDeclaration* node) {} |
void Processor::VisitFunctionDeclaration(FunctionDeclaration* node) {} |
-void Processor::VisitModuleDeclaration(ModuleDeclaration* node) {} |
void Processor::VisitImportDeclaration(ImportDeclaration* node) {} |
void Processor::VisitExportDeclaration(ExportDeclaration* node) {} |
-void Processor::VisitModuleLiteral(ModuleLiteral* node) {} |
-void Processor::VisitModulePath(ModulePath* node) {} |
-void Processor::VisitModuleUrl(ModuleUrl* node) {} |
void Processor::VisitEmptyStatement(EmptyStatement* node) {} |
void Processor::VisitReturnStatement(ReturnStatement* node) {} |
void Processor::VisitDebuggerStatement(DebuggerStatement* node) {} |