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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 #else | 201 #else |
202 #define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK 0 | 202 #define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK 0 |
203 #endif | 203 #endif |
204 | 204 |
205 // Number of bits to represent the page size for paged spaces. The value of 20 | 205 // Number of bits to represent the page size for paged spaces. The value of 20 |
206 // gives 1Mb bytes per page. | 206 // gives 1Mb bytes per page. |
207 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX | 207 #if V8_HOST_ARCH_PPC && V8_TARGET_ARCH_PPC && V8_OS_LINUX |
208 // Bump up for Power Linux due to larger (64K) page size. | 208 // Bump up for Power Linux due to larger (64K) page size. |
209 const int kPageSizeBits = 22; | 209 const int kPageSizeBits = 22; |
210 #else | 210 #else |
211 const int kPageSizeBits = 20; | 211 const int kPageSizeBits = 19; |
212 #endif | 212 #endif |
213 | 213 |
214 #endif // V8_BASE_BUILD_CONFIG_H_ | 214 #endif // V8_BASE_BUILD_CONFIG_H_ |
OLD | NEW |