You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document/core/valid/instructions.rst
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1520,17 +1520,17 @@ Control Instructions
1520
1520
1521
1521
* The function :math:`C.\CFUNCS[x]` must be defined in the context.
1522
1522
1523
-
* Let :math:`[t_1^\ast] \to [t_2^?]` be the :ref:`function type <syntax-functype>` :math:`C.\CFUNCS[x]`.
1523
+
* Let :math:`[t_1^\ast] \to [t_2^\ast]` be the :ref:`function type <syntax-functype>` :math:`C.\CFUNCS[x]`.
1524
1524
1525
-
* The :ref:`result type <syntax-resulttype>` :math:`[t_2^?]` must be the same as :math:`C.\CRETURN`.
1525
+
* The :ref:`result type <syntax-resulttype>` :math:`[t_2^\ast]` must be the same as :math:`C.\CRETURN`.
1526
1526
1527
1527
* Then the instruction is valid with type :math:`[t_3^\ast~t_1^\ast] \to [t_4^\ast]`, for any sequences of :ref:`value types <syntax-valtype>` :math:`t_3^\ast` and :math:`t_4^\ast`.
1528
1528
1529
1529
.. math::
1530
1530
\frac{
1531
-
C.\CFUNCS[x] = [t_1^\ast] \to [t_2^?]
1531
+
C.\CFUNCS[x] = [t_1^\ast] \to [t_2^\ast]
1532
1532
\qquad
1533
-
C.\CRETURN = [t_2^?]
1533
+
C.\CRETURN = [t_2^\ast]
1534
1534
}{
1535
1535
C \vdashinstr\RETURNCALL~x : [t_3^\ast~t_1^\ast] \to [t_4^\ast]
1536
1536
}
@@ -1554,9 +1554,9 @@ Control Instructions
1554
1554
1555
1555
* The type :math:`C.\CTYPES[y]` must be defined in the context.
1556
1556
1557
-
* Let :math:`[t_1^\ast] \to [t_2^?]` be the :ref:`function type <syntax-functype>` :math:`C.\CTYPES[y]`.
1557
+
* Let :math:`[t_1^\ast] \to [t_2^\ast]` be the :ref:`function type <syntax-functype>` :math:`C.\CTYPES[y]`.
1558
1558
1559
-
* The :ref:`result type <syntax-resulttype>` :math:`[t_2^?]` must be the same as :math:`C.\CRETURN`.
1559
+
* The :ref:`result type <syntax-resulttype>` :math:`[t_2^\ast]` must be the same as :math:`C.\CRETURN`.
1560
1560
1561
1561
* Then the instruction is valid with type :math:`[t_3^\ast~t_1^\ast~\I32] \to [t_4^\ast]`, for any sequences of :ref:`value types <syntax-valtype>` :math:`t_3^\ast` and :math:`t_4^\ast`.
1562
1562
@@ -1565,9 +1565,9 @@ Control Instructions
1565
1565
\frac{
1566
1566
C.\CTABLES[x] = \limits~\FUNCREF
1567
1567
\qquad
1568
-
C.\CTYPES[y] = [t_1^\ast] \to [t_2^?]
1568
+
C.\CTYPES[y] = [t_1^\ast] \to [t_2^\ast]
1569
1569
\qquad
1570
-
C.\CRETURN = [t_2^?]
1570
+
C.\CRETURN = [t_2^\ast]
1571
1571
}{
1572
1572
C \vdashinstr\RETURNCALLINDIRECT~x~y : [t_3^\ast~t_1^\ast~\I32] \to [t_4^\ast]
0 commit comments