diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2017-04-17 12:20:05 +0200 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2017-06-07 10:34:24 +0200 |
commit | 44f5523260f8687c5844e945f8fecff261f600ba (patch) | |
tree | 2510a08c2b072d685e060c723571da2d2c54fe36 /deps/v8/tools | |
parent | bfb4694408434b631bf5cfbca756fc9cb331e91c (diff) | |
download | android-node-v8-44f5523260f8687c5844e945f8fecff261f600ba.tar.gz android-node-v8-44f5523260f8687c5844e945f8fecff261f600ba.tar.bz2 android-node-v8-44f5523260f8687c5844e945f8fecff261f600ba.zip |
v8: fix stack overflow in recursive method
HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock()
used to self-recurse before this commit, causing stack overflows on
systems with small stack sizes. Make it non-recursive by storing
intermediate results in a heap-allocated list.
Fixes: https://github.com/nodejs/node/issues/11991
PR-URL: https://github.com/nodejs/node/pull/12460
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yang Guo <yangguo@chromium.org>
Diffstat (limited to 'deps/v8/tools')
0 files changed, 0 insertions, 0 deletions