| 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 | 9 |
| 10 #include "base/macros.h" | 10 #include "src/base/macros.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // Forward declarations. | 15 // Forward declarations. |
| 16 template <typename T> class Handle; | 16 template <typename T> class Handle; |
| 17 class Object; | 17 class Object; |
| 18 | 18 |
| 19 #define HTYPE_LIST(V) \ | 19 #define HTYPE_LIST(V) \ |
| 20 V(Any, 0x0) /* 0000 0000 0000 0000 */ \ | 20 V(Any, 0x0) /* 0000 0000 0000 0000 */ \ |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 STATIC_ASSERT(LAST_KIND < (1 << (CHAR_BIT * sizeof(int16_t)))); | 78 STATIC_ASSERT(LAST_KIND < (1 << (CHAR_BIT * sizeof(int16_t)))); |
| 79 | 79 |
| 80 explicit HType(Kind kind) : kind_(kind) { } | 80 explicit HType(Kind kind) : kind_(kind) { } |
| 81 | 81 |
| 82 int16_t kind_; | 82 int16_t kind_; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } } // namespace v8::internal | 85 } } // namespace v8::internal |
| 86 | 86 |
| 87 #endif // HYDROGEN_TYPES_H_ | 87 #endif // HYDROGEN_TYPES_H_ |
| OLD | NEW |