• Andreas Haas's avatar
    [wasm][ia32] Add an additional stack check for functions with big frames · 2064c1f9
    Andreas Haas authored
    This is the ia32 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.
    
    Bug:v8:6318
    
    R=neis@chromium.org, titzer@chromium.org
    
    Change-Id: Ibeedc5c4c4571cffd3a9c58016ddc44b64e2bf02
    Reviewed-on: https://chromium-review.googlesource.com/568305
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46711}
    2064c1f9
Name
Last commit
Last update
..
assembler-ia32-inl.h Loading commit data...
assembler-ia32.cc Loading commit data...
assembler-ia32.h Loading commit data...
code-stubs-ia32.cc Loading commit data...
code-stubs-ia32.h Loading commit data...
codegen-ia32.cc Loading commit data...
codegen-ia32.h Loading commit data...
cpu-ia32.cc Loading commit data...
deoptimizer-ia32.cc Loading commit data...
disasm-ia32.cc Loading commit data...
frames-ia32.cc Loading commit data...
frames-ia32.h Loading commit data...
interface-descriptors-ia32.cc Loading commit data...
macro-assembler-ia32.cc Loading commit data...
macro-assembler-ia32.h Loading commit data...
simulator-ia32.cc Loading commit data...
simulator-ia32.h Loading commit data...
sse-instr.h Loading commit data...