File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ It decodes into a vector of :ref:`imports <syntax-import>` that represent the |M
181
181
\hex {01 }~~\X {tt}{:}\Btabletype &\Rightarrow & \IDTABLE ~\X {tt} \\ &&|&
182
182
\hex {02 }~~\X {mt}{:}\Bmemtype &\Rightarrow & \IDMEM ~\X {mt} \\ &&|&
183
183
\hex {03 }~~\X {gt}{:}\Bglobaltype &\Rightarrow & \IDGLOBAL ~\X {gt} \\ &&|&
184
- \hex {04 }~~\X {tt}{ :}\Btagtype &\Rightarrow & \IDTAG ~\X {tt} \\
184
+ \hex {04 }~~x{ :}\Btagtype &\Rightarrow & \IDTAG ~x \\
185
185
\end {array}
186
186
187
187
Original file line number Diff line number Diff line change @@ -321,17 +321,14 @@ Global Types
321
321
Tag Types
322
322
~~~~~~~~~
323
323
324
- :ref: `Tag types <syntax-tagtype >` are encoded by their function type.
324
+ :ref: `Tag types <syntax-tagtype >` are encoded by a :ref: ` type index < syntax-typeidx >` denoting a :ref: ` function type < syntax-functype >` .
325
325
326
326
.. math ::
327
327
\begin {array}{llclll}
328
328
\production {tag type} & \Btagtype &::=&
329
- \hex {00 }~~ft {:}\Bfunctype &\Rightarrow & ft \\
329
+ \hex {00 }~~x {:}\Btypeidx &\Rightarrow & x \\
330
330
\end {array}
331
331
332
- The |Bfunctype | of a tag is used to characterise exceptions.
333
- The :math: `\hex {00 }` bit signifies an exception and is currently the only allowed value.
334
-
335
332
.. note ::
336
333
In future versions of WebAssembly,
337
334
the preceding zero byte may encode additional flags.
Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ The |MIMPORTS| component of a module defines a set of *imports* that are require
445
445
\IDTABLE ~\tabletype \\&&|&
446
446
\IDMEM ~\memtype \\&&|&
447
447
\IDGLOBAL ~\globaltype \\&&|&
448
- \IDTAG ~\tagtype \\
448
+ \IDTAG ~\typeidx \\
449
449
\end {array}
450
450
451
451
Each import is labeled by a two-level :ref: `name <syntax-name >` space, consisting of a |IMODULE | name and a |INAME | for an entity within that module.
You can’t perform that action at this time.
0 commit comments