Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Added Exception Handling entry to document/core/appendix/changes.rst #267

Merged
merged 4 commits into from
Apr 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/