| 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 12176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12187 UNREACHABLE(); | 12187 UNREACHABLE(); |
| 12188 } | 12188 } |
| 12189 | 12189 |
| 12190 | 12190 |
| 12191 void HOptimizedGraphBuilder::VisitExportDeclaration( | 12191 void HOptimizedGraphBuilder::VisitExportDeclaration( |
| 12192 ExportDeclaration* declaration) { | 12192 ExportDeclaration* declaration) { |
| 12193 UNREACHABLE(); | 12193 UNREACHABLE(); |
| 12194 } | 12194 } |
| 12195 | 12195 |
| 12196 | 12196 |
| 12197 void HOptimizedGraphBuilder::VisitRewritableAssignmentExpression( | 12197 void HOptimizedGraphBuilder::VisitRewritableExpression( |
| 12198 RewritableAssignmentExpression* node) { | 12198 RewritableExpression* node) { |
| 12199 CHECK_ALIVE(Visit(node->expression())); | 12199 CHECK_ALIVE(Visit(node->expression())); |
| 12200 } | 12200 } |
| 12201 | 12201 |
| 12202 | 12202 |
| 12203 // Generators for inline runtime functions. | 12203 // Generators for inline runtime functions. |
| 12204 // Support for types. | 12204 // Support for types. |
| 12205 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 12205 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
| 12206 DCHECK(call->arguments()->length() == 1); | 12206 DCHECK(call->arguments()->length() == 1); |
| 12207 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); | 12207 CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
| 12208 HValue* value = Pop(); | 12208 HValue* value = Pop(); |
| (...skipping 1375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13584 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13584 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 13585 } | 13585 } |
| 13586 | 13586 |
| 13587 #ifdef DEBUG | 13587 #ifdef DEBUG |
| 13588 graph_->Verify(false); // No full verify. | 13588 graph_->Verify(false); // No full verify. |
| 13589 #endif | 13589 #endif |
| 13590 } | 13590 } |
| 13591 | 13591 |
| 13592 } // namespace internal | 13592 } // namespace internal |
| 13593 } // namespace v8 | 13593 } // namespace v8 |
| OLD | NEW |