Skip to content

Commit

Permalink
Added Exception Handling entry to document/core/appendix/changes.rst (
Browse files Browse the repository at this point in the history
#267)


Co-authored-by: Andreas Rossberg <[email protected]>
  • Loading branch information
ioannad and rossberg authored Apr 12, 2023
1 parent d12346c commit 5785828
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions document/core/appendix/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,22 @@ Added vector type and instructions that manipulate multiple numeric values in pa
* New injection/projection :ref:`vector instructions <syntax-instr-vec>`: :math:`\K{i}\!N\!\K{x}\!M\!\K{.splat}`, :math:`\K{f}\!N\!\K{x}\!M\!\K{.splat}`, :math:`\K{i}\!N\!\K{x}\!M\!\K{.bitmask}`


.. index:: instructions, exception, tag type, tag, handler

Exception Handling
..................

Added tag definitions, imports, and exports, and instructions to throw and catch exceptions [#proposal-exceptions]_

* Modules may :ref:`define <syntax-tagtype>`, :ref:`import <syntax-import>`, and :ref:`export <syntax-export>` tags.

* New exception throwing :ref:`control instructions <syntax-instr-control>`: :math:`\THROW` and :math:`\RETHROW`.

* New handler :ref:`control instructions <syntax-instr-control>`: :math:`(\TRY~\X{bt}~\instr_1^\ast~(\CATCH~x~\instr_2^\ast)^\ast~(\CATCHALL~\instr_3^\ast)^?\END)` and :math:`(\TRY~\X{bt}~\instr^\ast~\DELEGATE~l)`.

* New :ref:`tag section <binary-tagsec>` in binary format.


.. [#proposal-signext]
https://github.com/WebAssembly/spec/tree/main/proposals/sign-extension-ops/
Expand All @@ -155,3 +171,6 @@ Added vector type and instructions that manipulate multiple numeric values in pa
.. [#proposal-vectype]
https://github.com/WebAssembly/spec/tree/main/proposals/simd/
.. [#proposal-exceptions]
https://github.com/WebAssembly/spec/tree/main/proposals/exception-handling/

0 comments on commit 5785828

Please sign in to comment.