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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 Handle<SharedFunctionInfo> shared_info; | 72 Handle<SharedFunctionInfo> shared_info; |
72 if (info.shared_info().ToHandle(&shared_info)) { | 73 if (info.shared_info().ToHandle(&shared_info)) { |
73 os << ", " << Brief(*shared_info); | 74 os << ", " << Brief(*shared_info); |
74 } | 75 } |
75 return os; | 76 return os; |
76 } | 77 } |
77 | 78 |
78 } // namespace compiler | 79 } // namespace compiler |
79 } // namespace internal | 80 } // namespace internal |
80 } // namespace v8 | 81 } // namespace v8 |
OLD | NEW |