Skip to content

Commit 7e17d30

Browse files
committed
Small fixes
1 parent fa755df commit 7e17d30

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

document/core/binary/instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Control Instructions
4343
\production{block type} & \Bblocktype &::=&
4444
\hex{40} &\Rightarrow& \epsilon \\ &&|&
4545
t{:}\Bvaltype &\Rightarrow& t \\ &&|&
46-
x{:}\Bs33 &\Rightarrow& x \\
46+
x{:}\Bs33 &\Rightarrow& x & (\iff x \geq 0) \\
4747
\production{instruction} & \Binstr &::=&
4848
\hex{00} &\Rightarrow& \UNREACHABLE \\ &&|&
4949
\hex{01} &\Rightarrow& \NOP \\ &&|&

document/core/valid/instructions.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ Control Instructions
487487
}
488488
489489
.. note::
490-
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[t^?]` inserts the new label type at index :math:`0`, shifting all others.
490+
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[t^\ast]` inserts the new label type at index :math:`0`, shifting all others.
491491

492492

493493
.. _valid-loop:
@@ -497,7 +497,7 @@ Control Instructions
497497

498498
* The :ref:`block type <syntax-blocktype>` must be :ref:`valid <valid-blocktype>` as some :ref:`function type <syntax-functype>` :math:`[t_1^\ast] \to [t_2^\ast]`.
499499

500-
* Let :math:`C'` be the same :ref:`context <context>` as :math:`C`, but with the empty :ref:`result type <syntax-resulttype>` :math:`[t_1^\ast]` prepended to the |CLABELS| vector.
500+
* Let :math:`C'` be the same :ref:`context <context>` as :math:`C`, but with the :ref:`result type <syntax-resulttype>` :math:`[t_1^\ast]` prepended to the |CLABELS| vector.
501501

502502
* Under context :math:`C'`,
503503
the instruction sequence :math:`\instr^\ast` must be :ref:`valid <valid-instr-seq>` with type :math:`[t_1^\ast] \to [t_2^\ast]`.
@@ -514,7 +514,7 @@ Control Instructions
514514
}
515515
516516
.. note::
517-
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[]` inserts the new label type at index :math:`0`, shifting all others.
517+
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[t^\ast]` inserts the new label type at index :math:`0`, shifting all others.
518518

519519

520520
.. _valid-if:
@@ -546,7 +546,7 @@ Control Instructions
546546
}
547547
548548
.. note::
549-
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[t^?]` inserts the new label type at index :math:`0`, shifting all others.
549+
The :ref:`notation <notation-extend>` :math:`C,\CLABELS\,[t^\ast]` inserts the new label type at index :math:`0`, shifting all others.
550550

551551

552552
.. _valid-br:

0 commit comments

Comments
 (0)