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

Commit 5785828

Browse files
ioannadrossberg
andauthored
Added Exception Handling entry to document/core/appendix/changes.rst (#267)
Co-authored-by: Andreas Rossberg <[email protected]>
1 parent d12346c commit 5785828

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

document/core/appendix/changes.rst

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,22 @@ Added vector type and instructions that manipulate multiple numeric values in pa
138138
* 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}`
139139

140140

141+
.. index:: instructions, exception, tag type, tag, handler
142+
143+
Exception Handling
144+
..................
145+
146+
Added tag definitions, imports, and exports, and instructions to throw and catch exceptions [#proposal-exceptions]_
147+
148+
* Modules may :ref:`define <syntax-tagtype>`, :ref:`import <syntax-import>`, and :ref:`export <syntax-export>` tags.
149+
150+
* New exception throwing :ref:`control instructions <syntax-instr-control>`: :math:`\THROW` and :math:`\RETHROW`.
151+
152+
* 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)`.
153+
154+
* New :ref:`tag section <binary-tagsec>` in binary format.
155+
156+
141157
.. [#proposal-signext]
142158
https://github.com/WebAssembly/spec/tree/main/proposals/sign-extension-ops/
143159
@@ -155,3 +171,6 @@ Added vector type and instructions that manipulate multiple numeric values in pa
155171
156172
.. [#proposal-vectype]
157173
https://github.com/WebAssembly/spec/tree/main/proposals/simd/
174+
175+
.. [#proposal-exceptions]
176+
https://github.com/WebAssembly/spec/tree/main/proposals/exception-handling/

0 commit comments

Comments
 (0)