v8/test/common/wasm
Thibaud Michaud 440548267b [wasm][interpreter][eh] Implement catch with immediate
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/+/2690587
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#72661}
2021-02-11 15:38:56 +00:00
..
flag-utils.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00
test-signatures.h [compiler] Re-reland "Faster JS-to-Wasm calls" 2021-02-05 09:41:30 +00:00
wasm-interpreter.cc [wasm][interpreter][eh] Implement catch with immediate 2021-02-11 15:38:56 +00:00
wasm-interpreter.h [wasm][interpreter][eh] Implement catch with immediate 2021-02-11 15:38:56 +00:00
wasm-macro-gen.h [wasm][eh] Fix catch_all encoding 2021-02-04 14:36:24 +00:00
wasm-module-runner.cc [wasm-gc] Implement optional-depth rtts 2021-01-28 11:52:09 +00:00
wasm-module-runner.h [wasm][fuzzer] Fix BigInt parameters 2020-08-26 14:22:19 +00:00