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/exec/modules.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -655,7 +655,7 @@ It is up to the :ref:`embedder <embedder>` to define how such conditions are rep
655
655
656
656
13. Push the frame :math:`F` to the stack.
657
657
658
-
14. For each :ref:`element segment <syntax-elem>` :math:`\elem_i` in :math:`\module.\MELEMS` whose :ref:`mode <syntax-elemmode>` is either of the form:math:`\EDECLARATIVE` or:math:`\EACTIVE~\{ \ETABLE~\tableidx_i, \EOFFSET~\X{einstr}^\ast_i~\END \}`, do:
658
+
14. For each :ref:`element segment <syntax-elem>` :math:`\elem_i` in :math:`\module.\MELEMS` whose :ref:`mode <syntax-elemmode>` is of the form :math:`\EACTIVE~\{ \ETABLE~\tableidx_i, \EOFFSET~\X{einstr}^\ast_i~\END \}`, do:
659
659
660
660
a. Let :math:`n` be the length of the vector :math:`\elem_i.\EINIT`.
661
661
@@ -669,7 +669,11 @@ It is up to the :ref:`embedder <embedder>` to define how such conditions are rep
669
669
670
670
f. :ref:`Execute <exec-elem.drop>` the instruction :math:`\ELEMDROP~i`.
671
671
672
-
15. For each :ref:`data segment <syntax-data>` :math:`\data_i` in :math:`\module.\MDATAS` whose :ref:`mode <syntax-datamode>` is of the form :math:`\DACTIVE~\{ \DMEM~\memidx_i, \DOFFSET~\X{dinstr}^\ast_i~\END \}`, do:
672
+
15. For each :ref:`element segment <syntax-elem>` :math:`\elem_i` in :math:`\module.\MELEMS` whose :ref:`mode <syntax-elemmode>` is of the form :math:`\EDECLARATIVE`, do:
673
+
674
+
a. :ref:`Execute <exec-elem.drop>` the instruction :math:`\ELEMDROP~i`.
675
+
676
+
16. For each :ref:`data segment <syntax-data>` :math:`\data_i` in :math:`\module.\MDATAS` whose :ref:`mode <syntax-datamode>` is of the form :math:`\DACTIVE~\{ \DMEM~\memidx_i, \DOFFSET~\X{dinstr}^\ast_i~\END \}`, do:
673
677
674
678
a. Assert: :math:`\memidx_i` is :math:`0`.
675
679
@@ -685,10 +689,6 @@ It is up to the :ref:`embedder <embedder>` to define how such conditions are rep
685
689
686
690
g. :ref:`Execute <exec-data.drop>` the instruction :math:`\DATADROP~i`.
687
691
688
-
16. For each :ref:`data segment <syntax-data>` :math:`\data_i` in :math:`\module.\MDATAS` whose :ref:`mode <syntax-datamode>` is of the form :math:`\DDECLARATIVE`, do:
689
-
690
-
a. :ref:`Execute <exec-data.drop>` the instruction :math:`\DATADROP~i`.
691
-
692
692
17. If the :ref:`start function <syntax-start>` :math:`\module.\MSTART` is not empty, then:
693
693
694
694
a. Let :math:`\start` be the :ref:`start function <syntax-start>` :math:`\module.\MSTART`.
0 commit comments