• Michael Starzinger's avatar
    [wasm] Initial catch-all control flow wiring. · d56e29d1
    Michael Starzinger authored
    This adds support to wire control flow of catch-all expressions into an
    existing try-catch cascade. Note that multiple typed catch blocks are
    not yet supported, only one typed catch block followed by one catch-all
    block is supported.
    
    In case the explicit catch-all block is missing, we emulate the correct
    semantics by internally always emitting a catch-all containing a simple
    rethrow instruction.
    
    R=clemensh@chromium.org
    TEST=mjsunit/wasm/exceptions-catchall
    BUG=v8:8091
    
    Change-Id: I6b29a98c4f1a558fabe6012f4ba6c7b7d43529bb
    Reviewed-on: https://chromium-review.googlesource.com/c/1270585Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56476}
    d56e29d1
liftoff-compiler.cc 81 KB