• Thibaud Michaud's avatar
    [wasm][interpreter][eh] Implement catch with immediate · 44054826
    Thibaud Michaud authored
    In the latest spec, catch can take an exception index immediate, and
    control-flow jumps to the appropriate catch handler depending on the
    thrown exception.
    
    Do this by allowing multiple jump targets for the same pc in labels and
    in the control transfer map. At runtime, the unwinder will choose the
    appropriate control transfer entry based on the exception tag, unpack
    the exception and jump to the handler.
    
    Enable the exception cctests that were currently disabled for the
    interpreter, fix some issues and add tests for the new behaviors.
    
    R=clemensb@chromium.org
    
    Bug: v8:8091
    Change-Id: I30cb8f9459647a7c6f7bfd9785b238a9c9e9fc10
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2690587Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#72661}
    44054826
Name
Last commit
Last update
..
DIR_METADATA Loading commit data...
OWNERS Loading commit data...
control-transfer-unittest.cc Loading commit data...
decoder-unittest.cc Loading commit data...
function-body-decoder-unittest.cc Loading commit data...
leb-helper-unittest.cc Loading commit data...
loop-assignment-analysis-unittest.cc Loading commit data...
module-decoder-memory64-unittest.cc Loading commit data...
module-decoder-unittest.cc Loading commit data...
simd-shuffle-unittest.cc Loading commit data...
streaming-decoder-unittest.cc Loading commit data...
subtyping-unittest.cc Loading commit data...
trap-handler-posix-unittest.cc Loading commit data...
trap-handler-win-unittest.cc Loading commit data...
trap-handler-x64-unittest.cc Loading commit data...
wasm-code-manager-unittest.cc Loading commit data...
wasm-compiler-unittest.cc Loading commit data...
wasm-gdbserver-unittest.cc Loading commit data...
wasm-macro-gen-unittest.cc Loading commit data...
wasm-module-builder-unittest.cc Loading commit data...
wasm-module-sourcemap-unittest.cc Loading commit data...