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