| 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" | 8 #include "src/base/macros.h" |
| 9 #include "src/globals.h" | 9 #include "src/globals.h" |
| 10 | 10 |
| 11 // Assert that this is an LP64 system. | 11 // Assert that this is an LP64 system. |
| 12 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 12 STATIC_ASSERT(sizeof(int) == sizeof(int32_t)); |
| 13 STATIC_ASSERT(sizeof(long) == sizeof(int64_t)); // NOLINT(runtime/int) | 13 STATIC_ASSERT(sizeof(long) == sizeof(int64_t)); // NOLINT(runtime/int) |
| 14 STATIC_ASSERT(sizeof(void *) == sizeof(int64_t)); // NOLINT(runtime/sizeof) | 14 STATIC_ASSERT(sizeof(void *) == sizeof(int64_t)); |
| 15 STATIC_ASSERT(sizeof(1) == sizeof(int32_t)); // NOLINT(runtime/sizeof) | 15 STATIC_ASSERT(sizeof(1) == sizeof(int32_t)); |
| 16 STATIC_ASSERT(sizeof(1L) == sizeof(int64_t)); // NOLINT(runtime/sizeof) | 16 STATIC_ASSERT(sizeof(1L) == sizeof(int64_t)); |
| 17 | 17 |
| 18 | 18 |
| 19 // Get the standard printf format macros for C99 stdint types. | 19 // Get the standard printf format macros for C99 stdint types. |
| 20 #ifndef __STDC_FORMAT_MACROS | 20 #ifndef __STDC_FORMAT_MACROS |
| 21 #define __STDC_FORMAT_MACROS | 21 #define __STDC_FORMAT_MACROS |
| 22 #endif | 22 #endif |
| 23 #include <inttypes.h> | 23 #include <inttypes.h> |
| 24 | 24 |
| 25 | 25 |
| 26 namespace v8 { | 26 namespace v8 { |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1227 | 1227 |
| 1228 enum UnallocatedOp { | 1228 enum UnallocatedOp { |
| 1229 UnallocatedFixed = 0x00000000, | 1229 UnallocatedFixed = 0x00000000, |
| 1230 UnallocatedFMask = 0x00000000 | 1230 UnallocatedFMask = 0x00000000 |
| 1231 }; | 1231 }; |
| 1232 | 1232 |
| 1233 } // namespace internal | 1233 } // namespace internal |
| 1234 } // namespace v8 | 1234 } // namespace v8 |
| 1235 | 1235 |
| 1236 #endif // V8_ARM64_CONSTANTS_ARM64_H_ | 1236 #endif // V8_ARM64_CONSTANTS_ARM64_H_ |
| OLD | NEW |