| 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 V8_BASE_BUILD_CONFIG_H_ | 5 #ifndef V8_BASE_BUILD_CONFIG_H_ | 
| 6 #define V8_BASE_BUILD_CONFIG_H_ | 6 #define V8_BASE_BUILD_CONFIG_H_ | 
| 7 | 7 | 
| 8 #include "include/v8config.h" | 8 #include "include/v8config.h" | 
| 9 | 9 | 
| 10 // Processor architecture detection.  For more info on what's defined, see: | 10 // Processor architecture detection.  For more info on what's defined, see: | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 22 #define V8_HOST_ARCH_IA32 1 | 22 #define V8_HOST_ARCH_IA32 1 | 
| 23 #define V8_HOST_ARCH_32_BIT 1 | 23 #define V8_HOST_ARCH_32_BIT 1 | 
| 24 #else | 24 #else | 
| 25 #define V8_HOST_ARCH_X64 1 | 25 #define V8_HOST_ARCH_X64 1 | 
| 26 #if defined(__x86_64__) && __SIZEOF_POINTER__ == 4  // Check for x32. | 26 #if defined(__x86_64__) && __SIZEOF_POINTER__ == 4  // Check for x32. | 
| 27 #define V8_HOST_ARCH_32_BIT 1 | 27 #define V8_HOST_ARCH_32_BIT 1 | 
| 28 #else | 28 #else | 
| 29 #define V8_HOST_ARCH_64_BIT 1 | 29 #define V8_HOST_ARCH_64_BIT 1 | 
| 30 #endif | 30 #endif | 
| 31 #endif  // __native_client__ | 31 #endif  // __native_client__ | 
|  | 32 #elif defined(__pnacl__) | 
|  | 33 // PNaCl is also ILP-32. | 
|  | 34 #define V8_HOST_ARCH_IA32 1 | 
|  | 35 #define V8_HOST_ARCH_32_BIT 1 | 
| 32 #elif defined(_M_IX86) || defined(__i386__) | 36 #elif defined(_M_IX86) || defined(__i386__) | 
| 33 #define V8_HOST_ARCH_IA32 1 | 37 #define V8_HOST_ARCH_IA32 1 | 
| 34 #define V8_HOST_ARCH_32_BIT 1 | 38 #define V8_HOST_ARCH_32_BIT 1 | 
| 35 #elif defined(__AARCH64EL__) | 39 #elif defined(__AARCH64EL__) | 
| 36 #define V8_HOST_ARCH_ARM64 1 | 40 #define V8_HOST_ARCH_ARM64 1 | 
| 37 #define V8_HOST_ARCH_64_BIT 1 | 41 #define V8_HOST_ARCH_64_BIT 1 | 
| 38 #elif defined(__ARMEL__) | 42 #elif defined(__ARMEL__) | 
| 39 #define V8_HOST_ARCH_ARM 1 | 43 #define V8_HOST_ARCH_ARM 1 | 
| 40 #define V8_HOST_ARCH_32_BIT 1 | 44 #define V8_HOST_ARCH_32_BIT 1 | 
| 41 #elif defined(__mips64) | 45 #elif defined(__mips64) | 
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 152 #define V8_TARGET_LITTLE_ENDIAN 1 | 156 #define V8_TARGET_LITTLE_ENDIAN 1 | 
| 153 #else | 157 #else | 
| 154 #error Unknown target architecture endianness | 158 #error Unknown target architecture endianness | 
| 155 #endif | 159 #endif | 
| 156 | 160 | 
| 157 // Number of bits to represent the page size for paged spaces. The value of 20 | 161 // Number of bits to represent the page size for paged spaces. The value of 20 | 
| 158 // gives 1Mb bytes per page. | 162 // gives 1Mb bytes per page. | 
| 159 const int kPageSizeBits = 20; | 163 const int kPageSizeBits = 20; | 
| 160 | 164 | 
| 161 #endif  // V8_BASE_BUILD_CONFIG_H_ | 165 #endif  // V8_BASE_BUILD_CONFIG_H_ | 
| OLD | NEW | 
|---|