| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef HYDROGEN_TYPES_H_ | 5 #ifndef HYDROGEN_TYPES_H_ |
| 6 #define HYDROGEN_TYPES_H_ | 6 #define HYDROGEN_TYPES_H_ |
| 7 | 7 |
| 8 #include <climits> | 8 #include <climits> |
| 9 #include <iosfwd> | 9 #include <iosfwd> |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // Make sure type fits in int16. | 79 // Make sure type fits in int16. |
| 80 STATIC_ASSERT(LAST_KIND < (1 << (CHAR_BIT * sizeof(int16_t)))); | 80 STATIC_ASSERT(LAST_KIND < (1 << (CHAR_BIT * sizeof(int16_t)))); |
| 81 | 81 |
| 82 explicit HType(Kind kind) : kind_(kind) { } | 82 explicit HType(Kind kind) : kind_(kind) { } |
| 83 | 83 |
| 84 int16_t kind_; | 84 int16_t kind_; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 | 87 |
| 88 std::ostream& operator<<(std::ostream& os, const HType& t); | 88 std::ostream& operator<<(std::ostream& os, const HType& t); |
| 89 } } // namespace v8::internal | 89 } // namespace internal |
| 90 } // namespace v8 |
| 90 | 91 |
| 91 #endif // HYDROGEN_TYPES_H_ | 92 #endif // HYDROGEN_TYPES_H_ |
| OLD | NEW |