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" | 5 #include "src/compiler/frame-states.h" |
6 | 6 |
7 #include "src/base/functional.h" | 7 #include "src/base/functional.h" |
8 #include "src/handles-inl.h" | 8 #include "src/handles-inl.h" |
| 9 #include "src/objects-inl.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 namespace internal { | 12 namespace internal { |
12 namespace compiler { | 13 namespace compiler { |
13 | 14 |
14 size_t hash_value(OutputFrameStateCombine const& sc) { | 15 size_t hash_value(OutputFrameStateCombine const& sc) { |
15 return base::hash_combine(sc.kind_, sc.parameter_); | 16 return base::hash_combine(sc.kind_, sc.parameter_); |
16 } | 17 } |
17 | 18 |
18 | 19 |
(...skipping 62 matching lines...) Loading... |
81 Handle<SharedFunctionInfo> shared_info; | 82 Handle<SharedFunctionInfo> shared_info; |
82 if (info.shared_info().ToHandle(&shared_info)) { | 83 if (info.shared_info().ToHandle(&shared_info)) { |
83 os << ", " << Brief(*shared_info); | 84 os << ", " << Brief(*shared_info); |
84 } | 85 } |
85 return os; | 86 return os; |
86 } | 87 } |
87 | 88 |
88 } // namespace compiler | 89 } // namespace compiler |
89 } // namespace internal | 90 } // namespace internal |
90 } // namespace v8 | 91 } // namespace v8 |
OLD | NEW |