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 12202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12213 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE); | 12213 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE); |
12214 } | 12214 } |
12215 break; | 12215 break; |
12216 } | 12216 } |
12217 case VariableLocation::LOOKUP: | 12217 case VariableLocation::LOOKUP: |
12218 return Bailout(kUnsupportedLookupSlotInDeclaration); | 12218 return Bailout(kUnsupportedLookupSlotInDeclaration); |
12219 } | 12219 } |
12220 } | 12220 } |
12221 | 12221 |
12222 | 12222 |
12223 void HOptimizedGraphBuilder::VisitImportDeclaration( | |
12224 ImportDeclaration* declaration) { | |
12225 UNREACHABLE(); | |
12226 } | |
12227 | |
12228 | |
12229 void HOptimizedGraphBuilder::VisitRewritableExpression( | 12223 void HOptimizedGraphBuilder::VisitRewritableExpression( |
12230 RewritableExpression* node) { | 12224 RewritableExpression* node) { |
12231 CHECK_ALIVE(Visit(node->expression())); | 12225 CHECK_ALIVE(Visit(node->expression())); |
12232 } | 12226 } |
12233 | 12227 |
12234 | 12228 |
12235 // Generators for inline runtime functions. | 12229 // Generators for inline runtime functions. |
12236 // Support for types. | 12230 // Support for types. |
12237 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 12231 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
12238 DCHECK(call->arguments()->length() == 1); | 12232 DCHECK(call->arguments()->length() == 1); |
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13406 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13400 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
13407 } | 13401 } |
13408 | 13402 |
13409 #ifdef DEBUG | 13403 #ifdef DEBUG |
13410 graph_->Verify(false); // No full verify. | 13404 graph_->Verify(false); // No full verify. |
13411 #endif | 13405 #endif |
13412 } | 13406 } |
13413 | 13407 |
13414 } // namespace internal | 13408 } // namespace internal |
13415 } // namespace v8 | 13409 } // namespace v8 |
OLD | NEW |