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 12404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12415 } | 12415 } |
12416 } | 12416 } |
12417 | 12417 |
12418 | 12418 |
12419 void HOptimizedGraphBuilder::VisitImportDeclaration( | 12419 void HOptimizedGraphBuilder::VisitImportDeclaration( |
12420 ImportDeclaration* declaration) { | 12420 ImportDeclaration* declaration) { |
12421 UNREACHABLE(); | 12421 UNREACHABLE(); |
12422 } | 12422 } |
12423 | 12423 |
12424 | 12424 |
12425 void HOptimizedGraphBuilder::VisitExportDeclaration( | |
12426 ExportDeclaration* declaration) { | |
12427 UNREACHABLE(); | |
12428 } | |
12429 | |
12430 | |
12431 void HOptimizedGraphBuilder::VisitRewritableExpression( | 12425 void HOptimizedGraphBuilder::VisitRewritableExpression( |
12432 RewritableExpression* node) { | 12426 RewritableExpression* node) { |
12433 CHECK_ALIVE(Visit(node->expression())); | 12427 CHECK_ALIVE(Visit(node->expression())); |
12434 } | 12428 } |
12435 | 12429 |
12436 | 12430 |
12437 // Generators for inline runtime functions. | 12431 // Generators for inline runtime functions. |
12438 // Support for types. | 12432 // Support for types. |
12439 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 12433 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
12440 DCHECK(call->arguments()->length() == 1); | 12434 DCHECK(call->arguments()->length() == 1); |
(...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13688 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13682 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
13689 } | 13683 } |
13690 | 13684 |
13691 #ifdef DEBUG | 13685 #ifdef DEBUG |
13692 graph_->Verify(false); // No full verify. | 13686 graph_->Verify(false); // No full verify. |
13693 #endif | 13687 #endif |
13694 } | 13688 } |
13695 | 13689 |
13696 } // namespace internal | 13690 } // namespace internal |
13697 } // namespace v8 | 13691 } // namespace v8 |
OLD | NEW |