OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 V8_ARM64_CONSTANTS_ARM64_H_ | 5 #ifndef V8_ARM64_CONSTANTS_ARM64_H_ |
6 #define V8_ARM64_CONSTANTS_ARM64_H_ | 6 #define V8_ARM64_CONSTANTS_ARM64_H_ |
7 | 7 |
| 8 #include "src/base/macros.h" |
| 9 #include "src/globals.h" |
8 | 10 |
9 // Assert that this is an LP64 system. | 11 // Assert that this is an LP64 system. |
10 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 12 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) |
11 STATIC_ASSERT(sizeof(long) == sizeof(int64_t)); // NOLINT(runtime/int) | 13 STATIC_ASSERT(sizeof(long) == sizeof(int64_t)); // NOLINT(runtime/int) |
12 STATIC_ASSERT(sizeof(void *) == sizeof(int64_t)); // NOLINT(runtime/sizeof) | 14 STATIC_ASSERT(sizeof(void *) == sizeof(int64_t)); // NOLINT(runtime/sizeof) |
13 STATIC_ASSERT(sizeof(1) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 15 STATIC_ASSERT(sizeof(1) == sizeof(int32_t)); // NOLINT(runtime/sizeof) |
14 STATIC_ASSERT(sizeof(1L) == sizeof(int64_t)); // NOLINT(runtime/sizeof) | 16 STATIC_ASSERT(sizeof(1L) == sizeof(int64_t)); // NOLINT(runtime/sizeof) |
15 | 17 |
16 | 18 |
17 // Get the standard printf format macros for C99 stdint types. | 19 // Get the standard printf format macros for C99 stdint types. |
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 }; | 1247 }; |
1246 | 1248 |
1247 enum UnallocatedOp { | 1249 enum UnallocatedOp { |
1248 UnallocatedFixed = 0x00000000, | 1250 UnallocatedFixed = 0x00000000, |
1249 UnallocatedFMask = 0x00000000 | 1251 UnallocatedFMask = 0x00000000 |
1250 }; | 1252 }; |
1251 | 1253 |
1252 } } // namespace v8::internal | 1254 } } // namespace v8::internal |
1253 | 1255 |
1254 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1256 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
OLD | NEW |