1. 30 Jan, 2019 1 commit
  2. 17 Sep, 2018 3 commits
  3. 11 Sep, 2018 2 commits
    • Michael Starzinger's avatar
      [wasm] Perform signature check on exception import. · 515fef86
      Michael Starzinger authored
      This checks the type signature during import against the expected
      signature. For this the {WasmExceptionObject} now contains a serialized
      version of the signature.
      
      R=clemensh@chromium.org
      TEST=mjsunit/wasm/exceptions-import
      BUG=v8:8091
      
      Change-Id: I5a34ef87eccf4d2ed3a784620796ec009623fd90
      Reviewed-on: https://chromium-review.googlesource.com/1219509Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
      Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55789}
      515fef86
    • 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