| 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 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 namespace compiler { | 10 namespace compiler { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 size_t hash_value(FrameStateCallInfo const& info) { | 41 size_t hash_value(FrameStateCallInfo const& info) { |
| 42 return base::hash_combine(info.type(), info.bailout_id(), | 42 return base::hash_combine(info.type(), info.bailout_id(), |
| 43 info.state_combine()); | 43 info.state_combine()); |
| 44 } | 44 } |
| 45 | 45 |
| 46 | 46 |
| 47 std::ostream& operator<<(std::ostream& os, FrameStateCallInfo const& info) { | 47 std::ostream& operator<<(std::ostream& os, FrameStateCallInfo const& info) { |
| 48 return os << info.type() << ", " << info.bailout_id() << ", " | 48 return os << info.type() << ", " << info.bailout_id() << ", " |
| 49 << info.state_combine(); | 49 << info.state_combine(); |
| 50 } | 50 } |
| 51 } | 51 |
| 52 } | 52 } // namespace compiler |
| 53 } | 53 } // namespace internal |
| 54 } // namespace v8 |
| OLD | NEW |