diff options
Diffstat (limited to 'deps/v8/src/base/build_config.h')
-rw-r--r-- | deps/v8/src/base/build_config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/v8/src/base/build_config.h b/deps/v8/src/base/build_config.h index 88073dd520..f4300824eb 100644 --- a/deps/v8/src/base/build_config.h +++ b/deps/v8/src/base/build_config.h @@ -201,8 +201,12 @@ #define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK false #endif -// Number of bits to represent the page size for paged spaces. The value of 19 -// gives 512Kb bytes per page. +// Number of bits to represent the page size for paged spaces. +#if defined(V8_TARGET_ARCH_PPC) || defined(V8_TARGET_ARCH_PPC64) +// PPC has large (64KB) physical pages. const int kPageSizeBits = 19; +#else +const int kPageSizeBits = 18; +#endif #endif // V8_BASE_BUILD_CONFIG_H_ |