• Manos Koukoutos's avatar
    [wasm][turbofan] Add kNoThrow property to stub calls · 96c6986c
    Manos Koukoutos authored
    Stub calls generated in wasm-compiler were not marked as kNoThrow. This
    created an inconsistency where these ostensibly throwing calls did not
    get wrapped in exception handlers, which in turn creates problems in
    upcoming changes in inlining.
    We resolve the inconsistency by marking all such calls as kNoThrow.
    Exceptions are the throwing calls Throw and Rethrow, for which we create
    exception handlers in WasmGraphBuildingInterface::CheckForException.
    
    Change-Id: I81da1b191332bcd497116e9f82e4de198778086b
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3322836Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78333}
    96c6986c
wasm-compiler.cc 340 KB