• Thibaud Michaud's avatar
    [wasm][liftoff][eh] Implement catch_all · 6e234e9d
    Thibaud Michaud authored
    Inline a catch handler after each potentially throwing call. The handler
    just merges values into the actual catch environment and then jumps to
    the catch body.
    
    This automatically adds support for unwind, which also uses the
    "CatchAll" interface method.
    
    Many tests can be written either with "catch" or with "catch_all".
    Duplicate them to get coverage for both.
    
    R=clemensb@chromium.org
    
    Bug: v8:11453
    Change-Id: I789ad44b8d1e496f026157d5c37a12004a8b37e3
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2726497Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73129}
    6e234e9d
liftoff-compiler.cc 239 KB