Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index a37b3e434227a8ebeda60363e040c23166e50e6b..5f3c1d2ceb949eba99f3b60c1c8dd50df216732c 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -63,6 +63,14 @@ void BreakableStatementChecker::VisitModuleDeclaration( |
ModuleDeclaration* decl) { |
} |
+void BreakableStatementChecker::VisitImportDeclaration( |
+ ImportDeclaration* decl) { |
+} |
+ |
+void BreakableStatementChecker::VisitExportDeclaration( |
+ ExportDeclaration* decl) { |
+} |
+ |
void BreakableStatementChecker::VisitModuleLiteral(ModuleLiteral* module) { |
} |
@@ -622,6 +630,16 @@ void FullCodeGenerator::VisitModuleDeclaration(ModuleDeclaration* decl) { |
} |
+void FullCodeGenerator::VisitImportDeclaration(ImportDeclaration* decl) { |
+ EmitDeclaration(decl->proxy(), decl->mode(), NULL); |
+} |
+ |
+ |
+void FullCodeGenerator::VisitExportDeclaration(ExportDeclaration* decl) { |
+ // TODO(rossberg) |
+} |
+ |
+ |
void FullCodeGenerator::VisitModuleLiteral(ModuleLiteral* module) { |
// TODO(rossberg) |
} |