v8/test/common/wasm
Thibaud Michaud f035b2f088 [wasm][interpreter] Fix max stack height for implicit rethrow
Take into account that the implicit rethrow at the end of a try block
might unpack the exception values, and reserve enough stack space for
them.
This is normally done for all throwing opcodes before the switch, but
'end' is not considered a throwing opcode, which is why it needs special
handling.

Also clean up by factorizing the rethrow logic.

R=ahaas@chromium.org

Bug: chromium:1186795
Change-Id: I6fde1b88085db95a9cab32c2c8e0ed1d28b64a32
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2783024
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73627}
2021-03-24 11:40:01 +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 [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
wasm-interpreter.cc [wasm][interpreter] Fix max stack height for implicit rethrow 2021-03-24 11:40:01 +00:00
wasm-interpreter.h [wasm][interpreter][eh] Add rethrow with immediate 2021-02-16 12:48:48 +00:00
wasm-macro-gen.h [wasm][cleanup] Rename WASM_GROW_MEMORY to WASM_MEMORY_GROW 2021-03-17 14:37:34 +00:00
wasm-module-runner.cc [wasm] Rename kWasmStmt -> kWasmVoid 2021-03-22 07:58:18 +00:00
wasm-module-runner.h [wasm][fuzzer] Fix BigInt parameters 2020-08-26 14:22:19 +00:00