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 <memory> | 7 #include <memory> |
8 #include <sstream> | 8 #include <sstream> |
9 | 9 |
10 #include "src/allocation-site-scopes.h" | 10 #include "src/allocation-site-scopes.h" |
(...skipping 11471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11482 } | 11482 } |
11483 | 11483 |
11484 | 11484 |
11485 void HOptimizedGraphBuilder::VisitSpread(Spread* expr) { UNREACHABLE(); } | 11485 void HOptimizedGraphBuilder::VisitSpread(Spread* expr) { UNREACHABLE(); } |
11486 | 11486 |
11487 | 11487 |
11488 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { | 11488 void HOptimizedGraphBuilder::VisitEmptyParentheses(EmptyParentheses* expr) { |
11489 UNREACHABLE(); | 11489 UNREACHABLE(); |
11490 } | 11490 } |
11491 | 11491 |
| 11492 void HOptimizedGraphBuilder::VisitGetIterator(GetIterator* expr) { |
| 11493 UNREACHABLE(); |
| 11494 } |
11492 | 11495 |
11493 HValue* HOptimizedGraphBuilder::AddThisFunction() { | 11496 HValue* HOptimizedGraphBuilder::AddThisFunction() { |
11494 return AddInstruction(BuildThisFunction()); | 11497 return AddInstruction(BuildThisFunction()); |
11495 } | 11498 } |
11496 | 11499 |
11497 | 11500 |
11498 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() { | 11501 HInstruction* HOptimizedGraphBuilder::BuildThisFunction() { |
11499 // If we share optimized code between different closures, the | 11502 // If we share optimized code between different closures, the |
11500 // this-function is not a constant, except inside an inlined body. | 11503 // this-function is not a constant, except inside an inlined body. |
11501 if (function_state()->outer() != NULL) { | 11504 if (function_state()->outer() != NULL) { |
(...skipping 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13026 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 13029 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
13027 } | 13030 } |
13028 | 13031 |
13029 #ifdef DEBUG | 13032 #ifdef DEBUG |
13030 graph_->Verify(false); // No full verify. | 13033 graph_->Verify(false); // No full verify. |
13031 #endif | 13034 #endif |
13032 } | 13035 } |
13033 | 13036 |
13034 } // namespace internal | 13037 } // namespace internal |
13035 } // namespace v8 | 13038 } // namespace v8 |
OLD | NEW |