Skip to content

Commit 0b32bbb

Browse files
mhdawsonjasnell
authored andcommitted
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: #3390 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> PR-URL: #3474
1 parent 6b75f10 commit 0b32bbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/v8/src/builtins.cc

+3
Original file line numberDiff line numberDiff line change
@@ -1531,6 +1531,9 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) {
15311531
#ifdef DEBUG
15321532
// We can generate a lot of debug code on Arm64.
15331533
const size_t buffer_size = 32*KB;
1534+
#elif V8_TARGET_ARCH_PPC64
1535+
// 8 KB is insufficient on PPC64 when FLAG_debug_code is on.
1536+
const size_t buffer_size = 10 * KB;
15341537
#else
15351538
const size_t buffer_size = 8*KB;
15361539
#endif

0 commit comments

Comments
 (0)