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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 #define V8_TARGET_LITTLE_ENDIAN 1 | 151 #define V8_TARGET_LITTLE_ENDIAN 1 |
152 #endif | 152 #endif |
153 #elif V8_TARGET_ARCH_MIPS64 | 153 #elif V8_TARGET_ARCH_MIPS64 |
154 #define V8_TARGET_LITTLE_ENDIAN 1 | 154 #define V8_TARGET_LITTLE_ENDIAN 1 |
155 #elif V8_TARGET_ARCH_X87 | 155 #elif V8_TARGET_ARCH_X87 |
156 #define V8_TARGET_LITTLE_ENDIAN 1 | 156 #define V8_TARGET_LITTLE_ENDIAN 1 |
157 #else | 157 #else |
158 #error Unknown target architecture endianness | 158 #error Unknown target architecture endianness |
159 #endif | 159 #endif |
160 | 160 |
161 #if V8_OS_MACOSX || defined(__FreeBSD__) || defined(__OpenBSD__) | |
162 #define USING_BSD_ABI | |
163 #endif | |
164 | |
165 // 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 |
166 // gives 1Mb bytes per page. | 162 // gives 1Mb bytes per page. |
167 const int kPageSizeBits = 20; | 163 const int kPageSizeBits = 20; |
168 | 164 |
169 #endif // V8_BASE_BUILD_CONFIG_H_ | 165 #endif // V8_BASE_BUILD_CONFIG_H_ |
OLD | NEW |