• Thibaud Michaud's avatar
    [wasm][eh] Fix interpreter delegate in catch block · 159e440d
    Thibaud Michaud authored
    The recent change in the delegate semantics was incorrectly implemented
    in the interpreter. It only checked that the first opcode of the target
    block is a 'try': we also need to skip try blocks when we are already in
    their 'catch' or 'catch_all' sub-block.
    Use the exception_stack instead, since it already only contains indices
    of try blocks that haven't reached their handlers yet.
    
    R=clemensb@chromium.org
    
    Bug: chromium:1249306
    Change-Id: I15746b4bfabf3dcf04cfe0f2ad438c573cce65e7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3168622
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#76919}
    159e440d
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...