• Michael Starzinger's avatar
    [wasm] Add preliminary support for imported exceptions. · 8238a9b2
    Michael Starzinger authored
    This adds the ability to import exception into a module at instantiation
    time. Only a {WasmExceptionObject} that has been exported by another
    module instance can be imported, all other values are rejected.
    
    Note that currently there is no signature check being performed to make
    sure the imported exception matches the expected type. Also the identity
    of imported exceptions is not yet preserved.
    
    Furthermore the engine does not yet match thrown exception objects on a
    global level across modules. Hence imported exceptions will (wrongly)
    behave as completely new types within the module.
    
    R=clemensh@chromium.org
    TEST=mjsunit/wasm/exceptions-import,unittests/WasmModuleVerifyTest
    BUG=v8:8091
    
    Change-Id: If247762b949a1ba4a87d13bc3e790a45dbc67815
    Reviewed-on: https://chromium-review.googlesource.com/1216402
    Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
    Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#55777}
    8238a9b2
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...