OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/compiler/ast-graph-builder.h" | 5 #include "src/compiler/ast-graph-builder.h" |
6 | 6 |
7 #include "src/compiler.h" | 7 #include "src/compiler.h" |
8 #include "src/compiler/ast-loop-assignment-analyzer.h" | 8 #include "src/compiler/ast-loop-assignment-analyzer.h" |
9 #include "src/compiler/control-builders.h" | 9 #include "src/compiler/control-builders.h" |
10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 | 833 |
834 | 834 |
835 void AstGraphBuilder::VisitExportDeclaration(ExportDeclaration* decl) { | 835 void AstGraphBuilder::VisitExportDeclaration(ExportDeclaration* decl) { |
836 UNREACHABLE(); | 836 UNREACHABLE(); |
837 } | 837 } |
838 | 838 |
839 | 839 |
840 void AstGraphBuilder::VisitModuleLiteral(ModuleLiteral* modl) { UNREACHABLE(); } | 840 void AstGraphBuilder::VisitModuleLiteral(ModuleLiteral* modl) { UNREACHABLE(); } |
841 | 841 |
842 | 842 |
843 void AstGraphBuilder::VisitModuleVariable(ModuleVariable* modl) { | |
844 UNREACHABLE(); | |
845 } | |
846 | |
847 | |
848 void AstGraphBuilder::VisitModulePath(ModulePath* modl) { UNREACHABLE(); } | 843 void AstGraphBuilder::VisitModulePath(ModulePath* modl) { UNREACHABLE(); } |
849 | 844 |
850 | 845 |
851 void AstGraphBuilder::VisitModuleUrl(ModuleUrl* modl) { UNREACHABLE(); } | 846 void AstGraphBuilder::VisitModuleUrl(ModuleUrl* modl) { UNREACHABLE(); } |
852 | 847 |
853 | 848 |
854 void AstGraphBuilder::VisitBlock(Block* stmt) { | 849 void AstGraphBuilder::VisitBlock(Block* stmt) { |
855 BlockBuilder block(this); | 850 BlockBuilder block(this); |
856 ControlScopeForBreakable scope(this, stmt, &block); | 851 ControlScopeForBreakable scope(this, stmt, &block); |
857 if (stmt->labels() != NULL) block.BeginBlock(); | 852 if (stmt->labels() != NULL) block.BeginBlock(); |
(...skipping 2273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3131 Node* dead_node = graph()->NewNode(common()->Dead()); | 3126 Node* dead_node = graph()->NewNode(common()->Dead()); |
3132 dead_control_.set(dead_node); | 3127 dead_control_.set(dead_node); |
3133 return dead_node; | 3128 return dead_node; |
3134 } | 3129 } |
3135 return dead_control_.get(); | 3130 return dead_control_.get(); |
3136 } | 3131 } |
3137 | 3132 |
3138 } // namespace compiler | 3133 } // namespace compiler |
3139 } // namespace internal | 3134 } // namespace internal |
3140 } // namespace v8 | 3135 } // namespace v8 |
OLD | NEW |