summaryrefslogtreecommitdiff
path: root/deps/v8
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2015-10-21 16:40:27 -0400
committerJames M Snell <jasnell@gmail.com>2015-10-22 15:48:48 -0700
commit1cbc2d05b537b1bc56ea0b664b57719de8b9c1ec (patch)
tree702747f73b993dddbc02afedf658580e246f7fd9 /deps/v8
parent41923c0c0795cfa6c465821387fca88fe8811367 (diff)
downloadnode-new-1cbc2d05b537b1bc56ea0b664b57719de8b9c1ec.tar.gz
v8: pull fix for builtin code size on PPC
Pull in the change that has been committed to v8 master in https://codereview.chromium.org/1415463002/. We are currently cherry-picking into 4.6 and 4.7 but until next next v8 update into Node Master I'd like to float it as it will make PPC LE go green in the CI Fixes: https://github.com/nodejs/node/issues/3390 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <ben@strongloop.com> PR-URL: https://github.com/nodejs/node/pull/3474
Diffstat (limited to 'deps/v8')
-rw-r--r--deps/v8/src/builtins.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/builtins.cc b/deps/v8/src/builtins.cc
index aa7268f6b6..31649d0fc2 100644
--- a/deps/v8/src/builtins.cc
+++ b/deps/v8/src/builtins.cc
@@ -1430,6 +1430,9 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) {
#ifdef DEBUG
// We can generate a lot of debug code on Arm64.
const size_t buffer_size = 32*KB;
+#elif V8_TARGET_ARCH_PPC64
+ // 8 KB is insufficient on PPC64 when FLAG_debug_code is on.
+ const size_t buffer_size = 10 * KB;
#else
const size_t buffer_size = 8*KB;
#endif