mirror of https://github.com/lukechilds/node.git
Browse Source
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>v6
Ben Noordhuis
8 years ago
committed by
Michaël Zasso
1 changed files with 17 additions and 11 deletions
Loading…
Reference in new issue