| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/compiler/frame-states.h" |
| 6 |
| 5 #include "src/base/functional.h" | 7 #include "src/base/functional.h" |
| 6 #include "src/compiler/frame-states.h" | |
| 7 #include "src/handles-inl.h" | 8 #include "src/handles-inl.h" |
| 8 | 9 |
| 9 namespace v8 { | 10 namespace v8 { |
| 10 namespace internal { | 11 namespace internal { |
| 11 namespace compiler { | 12 namespace compiler { |
| 12 | 13 |
| 13 size_t hash_value(OutputFrameStateCombine const& sc) { | 14 size_t hash_value(OutputFrameStateCombine const& sc) { |
| 14 return base::hash_combine(sc.kind_, sc.parameter_); | 15 return base::hash_combine(sc.kind_, sc.parameter_); |
| 15 } | 16 } |
| 16 | 17 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 Handle<SharedFunctionInfo> shared_info; | 69 Handle<SharedFunctionInfo> shared_info; |
| 69 if (info.shared_info().ToHandle(&shared_info)) { | 70 if (info.shared_info().ToHandle(&shared_info)) { |
| 70 os << ", " << Brief(*shared_info); | 71 os << ", " << Brief(*shared_info); |
| 71 } | 72 } |
| 72 return os; | 73 return os; |
| 73 } | 74 } |
| 74 | 75 |
| 75 } // namespace compiler | 76 } // namespace compiler |
| 76 } // namespace internal | 77 } // namespace internal |
| 77 } // namespace v8 | 78 } // namespace v8 |
| OLD | NEW |