Stack buffer for builtin code generation too small in some cases.
With --debug-code specified, 8 KB is not sufficient to contain some of the builtins on PPC64. This path is relevant only when snapshots are off. R=rmcilroy@chromium.org, ulan@chromium.org, michael_dawson@ca.ibm.com BUG= Review URL: https://codereview.chromium.org/1415463002 Cr-Commit-Position: refs/heads/master@{#31449}
This commit is contained in:
parent
c610c6308d
commit
d3a1fa0be0
@ -2131,6 +2131,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
|
||||
|
Loading…
Reference in New Issue
Block a user