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 12217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12228 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE); | 12228 Add<HSimulate>(proxy->id(), REMOVABLE_SIMULATE); |
12229 } | 12229 } |
12230 break; | 12230 break; |
12231 } | 12231 } |
12232 case VariableLocation::LOOKUP: | 12232 case VariableLocation::LOOKUP: |
12233 return Bailout(kUnsupportedLookupSlotInDeclaration); | 12233 return Bailout(kUnsupportedLookupSlotInDeclaration); |
12234 } | 12234 } |
12235 } | 12235 } |
12236 | 12236 |
12237 | 12237 |
12238 void HOptimizedGraphBuilder::VisitImportDeclaration( | |
12239 ImportDeclaration* declaration) { | |
12240 UNREACHABLE(); | |
12241 } | |
12242 | |
12243 | |
12244 void HOptimizedGraphBuilder::VisitRewritableExpression( | 12238 void HOptimizedGraphBuilder::VisitRewritableExpression( |
12245 RewritableExpression* node) { | 12239 RewritableExpression* node) { |
12246 CHECK_ALIVE(Visit(node->expression())); | 12240 CHECK_ALIVE(Visit(node->expression())); |
12247 } | 12241 } |
12248 | 12242 |
12249 | 12243 |
12250 // Generators for inline runtime functions. | 12244 // Generators for inline runtime functions. |
12251 // Support for types. | 12245 // Support for types. |
12252 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { | 12246 void HOptimizedGraphBuilder::GenerateIsSmi(CallRuntime* call) { |
12253 DCHECK(call->arguments()->length() == 1); | 12247 DCHECK(call->arguments()->length() == 1); |
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13421 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13415 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
13422 } | 13416 } |
13423 | 13417 |
13424 #ifdef DEBUG | 13418 #ifdef DEBUG |
13425 graph_->Verify(false); // No full verify. | 13419 graph_->Verify(false); // No full verify. |
13426 #endif | 13420 #endif |
13427 } | 13421 } |
13428 | 13422 |
13429 } // namespace internal | 13423 } // namespace internal |
13430 } // namespace v8 | 13424 } // namespace v8 |
OLD | NEW |