diff options
Diffstat (limited to 'www/chromium/files/patch-v8_src_globals.h')
-rw-r--r-- | www/chromium/files/patch-v8_src_globals.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium/files/patch-v8_src_globals.h b/www/chromium/files/patch-v8_src_globals.h new file mode 100644 index 000000000000..a5a216a8d535 --- /dev/null +++ b/www/chromium/files/patch-v8_src_globals.h @@ -0,0 +1,14 @@ +--- v8/src/globals.h.orig 2017-02-02 02:04:00 UTC ++++ v8/src/globals.h +@@ -182,7 +182,11 @@ const size_t kCodeRangeAreaAlignment = 2 + const size_t kMaximalCodeRangeSize = 512 * MB; + const size_t kCodeRangeAreaAlignment = 64 * KB; // OS page on PPC Linux + #else ++#if defined(__FreeBSD__) ++const size_t kMaximalCodeRangeSize = 256 * MB; ++#else + const size_t kMaximalCodeRangeSize = 512 * MB; ++#endif + const size_t kCodeRangeAreaAlignment = 4 * KB; // OS page. + #endif + #if V8_OS_WIN |