• Andreas Haas's avatar
    [wasm][x64] Add an additional stack check for functions with big frames · a03f4451
    Andreas Haas authored
    This is the x64 implementation of the CL
    https://codereview.chromium.org/2763593002
    
    Original message:
    
    [wasm][arm] Add an additional stack check for functions with big frames.
    
    Stack overflow checks are typically implemented as part of the TurboFan
    graph of a function. This means that the stack check code is executed
    after frame construction. When a frame is too big, though, there may not
    be enough space on the stack anymore to throw the stack overflow
    exception after frame construction. With this CL we do an additional
    stack check before frame construction for functions with big frames.
    
    As discussed offline with mstarzinger, I do this change currently only
    for WebAssembly.
    
    This CL contains only the changes for arm. I will do the other platforms
    in separate CLs.
    
    R=titzer@chromium.org
    
    Bug: v8:6318
    Change-Id: Id4a8ea3ee76c37132e86a7c4e5d05d3bd86df44a
    Reviewed-on: https://chromium-review.googlesource.com/565562
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46640}
    a03f4451
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...