OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/crankshaft/hydrogen.h" | 5 #include "src/crankshaft/hydrogen.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/allocation-site-scopes.h" | 9 #include "src/allocation-site-scopes.h" |
10 #include "src/ast/ast-numbering.h" | 10 #include "src/ast/ast-numbering.h" |
(...skipping 12407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12418 } | 12418 } |
12419 } | 12419 } |
12420 | 12420 |
12421 | 12421 |
12422 void HOptimizedGraphBuilder::VisitImportDeclaration( | 12422 void HOptimizedGraphBuilder::VisitImportDeclaration( |
12423 ImportDeclaration* declaration) { | 12423 ImportDeclaration* declaration) { |
12424 UNREACHABLE(); | 12424 UNREACHABLE(); |
12425 } | 12425 } |
12426 | 12426 |
12427 | 12427 |
12428 void HOptimizedGraphBuilder::VisitExportDeclaration( | |
12429 ExportDeclaration* declaration) { | |
12430 UNREACHABLE(); | |
12431 } | |
12432 | |
12433 | |
12434 void HOptimizedGraphBuilder::VisitRewritableExpression( | 12428 void HOptimizedGraphBuilder::VisitRewritableExpression( |
12435 RewritableExpression* node) { | 12429 RewritableExpression* node) { |
12436 CHECK_ALIVE(Visit(node->expression())); | 12430 CHECK_ALIVE(Visit(node->expression())); |
12437 } | 12431 } |
12438 | 12432 |
12439 | 12433 |
12440 // Generators for inline runtime functions. | 12434 // Generators for inline runtime functions. |
12441 // Support for types. | 12435 // Support for types. |
12442 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 12436 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
12443 DCHECK(call->arguments()->length() == 1); | 12437 DCHECK(call->arguments()->length() == 1); |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13691 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13685 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
13692 } | 13686 } |
13693 | 13687 |
13694 #ifdef DEBUG | 13688 #ifdef DEBUG |
13695 graph_->Verify(false); // No full verify. | 13689 graph_->Verify(false); // No full verify. |
13696 #endif | 13690 #endif |
13697 } | 13691 } |
13698 | 13692 |
13699 } // namespace internal | 13693 } // namespace internal |
13700 } // namespace v8 | 13694 } // namespace v8 |
OLD | NEW |