• 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
wasm-spec-tests.status 1.89 KB