Skip to content

Commit

Permalink
[spec] Fixing module typing for active elem/data segments (#1737)
Browse files Browse the repository at this point in the history
  • Loading branch information
raoxiaojia authored Mar 5, 2024
1 parent eb6f0fa commit 1c5e5d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion document/core/valid/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ Instead, the context :math:`C` for validation of the module's content is constru

* :math:`C'.\CFUNCS` is the same as :math:`C.\CFUNCS`,

* :math:`C'.\CTABLES` is the same as :math:`C.\CTABLES`,

* :math:`C'.\CMEMS` is the same as :math:`C.\CMEMS`,

* :math:`C'.\CREFS` is the same as :math:`C.\CREFS`,

* all other fields are empty.
Expand Down Expand Up @@ -635,7 +639,7 @@ Instead, the context :math:`C` for validation of the module's content is constru
\\
C = \{ \CTYPES~\type^\ast, \CFUNCS~\X{ift}^\ast\,\X{ft}^\ast, \CTABLES~\X{itt}^\ast\,\X{tt}^\ast, \CMEMS~\X{imt}^\ast\,\X{mt}^\ast, \CGLOBALS~\X{igt}^\ast\,\X{gt}^\ast, \CELEMS~\X{rt}^\ast, \CDATAS~{\ok}^n, \CREFS~x^\ast \}
\\
C' = \{ \CGLOBALS~\X{igt}^\ast, \CFUNCS~(C.\CFUNCS), \CREFS~(C.\CREFS) \}
C' = \{ \CGLOBALS~\X{igt}^\ast, \CFUNCS~(C.\CFUNCS), \CTABLES~(C.\CTABLES), \CMEMS~(C.\CMEMS), \CREFS~(C.\CREFS) \}
\qquad
|C.\CMEMS| \leq 1
\qquad
Expand Down

0 comments on commit 1c5e5d1

Please sign in to comment.