| Index: src/full-codegen.cc
|
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc
|
| index 02776aa8285ed5f58baf87aa76c51c5e70b09a44..5c5ba6b2566e8d4598b8c3ac253829e00b42d105 100644
|
| --- a/src/full-codegen.cc
|
| +++ b/src/full-codegen.cc
|
| @@ -55,6 +55,23 @@ void BreakableStatementChecker::VisitVariableDeclaration(
|
| VariableDeclaration* decl) {
|
| }
|
|
|
| +void BreakableStatementChecker::VisitModuleDeclaration(
|
| + ModuleDeclaration* decl) {
|
| +}
|
| +
|
| +
|
| +void BreakableStatementChecker::VisitModuleLiteral(ModuleLiteral* module) {
|
| +}
|
| +
|
| +void BreakableStatementChecker::VisitModuleVariable(ModuleVariable* module) {
|
| +}
|
| +
|
| +void BreakableStatementChecker::VisitModulePath(ModulePath* module) {
|
| +}
|
| +
|
| +void BreakableStatementChecker::VisitModuleUrl(ModuleUrl* module) {
|
| +}
|
| +
|
|
|
| void BreakableStatementChecker::VisitBlock(Block* stmt) {
|
| }
|
| @@ -527,11 +544,6 @@ void FullCodeGenerator::DoTest(const TestContext* context) {
|
| }
|
|
|
|
|
| -void FullCodeGenerator::VisitVariableDeclaration(VariableDeclaration* decl) {
|
| - EmitDeclaration(decl->proxy(), decl->mode(), decl->fun());
|
| -}
|
| -
|
| -
|
| void FullCodeGenerator::VisitDeclarations(
|
| ZoneList<Declaration*>* declarations) {
|
| int save_global_count = global_count_;
|
| @@ -580,6 +592,36 @@ void FullCodeGenerator::VisitDeclarations(
|
| }
|
|
|
|
|
| +void FullCodeGenerator::VisitVariableDeclaration(VariableDeclaration* decl) {
|
| + EmitDeclaration(decl->proxy(), decl->mode(), decl->fun());
|
| +}
|
| +
|
| +
|
| +void FullCodeGenerator::VisitModuleDeclaration(ModuleDeclaration* decl) {
|
| + // TODO(rossberg)
|
| +}
|
| +
|
| +
|
| +void FullCodeGenerator::VisitModuleLiteral(ModuleLiteral* module) {
|
| + // TODO(rossberg)
|
| +}
|
| +
|
| +
|
| +void FullCodeGenerator::VisitModuleVariable(ModuleVariable* module) {
|
| + // TODO(rossberg)
|
| +}
|
| +
|
| +
|
| +void FullCodeGenerator::VisitModulePath(ModulePath* module) {
|
| + // TODO(rossberg)
|
| +}
|
| +
|
| +
|
| +void FullCodeGenerator::VisitModuleUrl(ModuleUrl* decl) {
|
| + // TODO(rossberg)
|
| +}
|
| +
|
| +
|
| int FullCodeGenerator::DeclareGlobalsFlags() {
|
| ASSERT(DeclareGlobalsLanguageMode::is_valid(language_mode()));
|
| return DeclareGlobalsEvalFlag::encode(is_eval()) |
|
|
|