Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 173ea33

Browse files
authored
Rename "refedtype" to "heaptype" (#124)
1 parent ad009e0 commit 173ea33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

document/core/text/instructions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Reference Instructions
158158
.. math::
159159
\begin{array}{llclll}
160160
\production{instruction} & \Tplaininstr_I &::=& \dots \\ &&|&
161-
\text{ref.null}~~t{:}\Trefedtype &\Rightarrow& \REFNULL~t \\ &&|&
161+
\text{ref.null}~~t{:}\Theaptype &\Rightarrow& \REFNULL~t \\ &&|&
162162
\text{ref.is\_null} &\Rightarrow& \REFISNULL \\ &&|&
163163
\text{ref.func}~~x{:}\Tfuncidx &\Rightarrow& \REFFUNC~x \\ &&|&
164164
\end{array}

document/core/text/types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Number Types
2525
.. index:: reference type
2626
pair: text format; reference type
2727
.. _text-reftype:
28-
.. _text-refedtype:
28+
.. _text-heaptype:
2929

3030
Reference Types
3131
~~~~~~~~~~~~~~~
@@ -35,7 +35,7 @@ Reference Types
3535
\production{reference type} & \Treftype &::=&
3636
\text{funcref} &\Rightarrow& \FUNCREF \\ &&|&
3737
\text{externref} &\Rightarrow& \EXTERNREF \\
38-
\production{referenced type} & \Trefedtype &::=&
38+
\production{heap type} & \Theaptype &::=&
3939
\text{func} &\Rightarrow& \FUNCREF \\ &&|&
4040
\text{extern} &\Rightarrow& \EXTERNREF \\
4141
\end{array}

document/core/util/macros.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@
663663

664664
.. |Tnumtype| mathdef:: \xref{text/types}{text-numtype}{\T{numtype}}
665665
.. |Treftype| mathdef:: \xref{text/types}{text-reftype}{\T{reftype}}
666-
.. |Trefedtype| mathdef:: \xref{text/types}{text-refedtype}{\T{refedtype}}
666+
.. |Theaptype| mathdef:: \xref{text/types}{text-heaptype}{\T{heaptype}}
667667
.. |Tvaltype| mathdef:: \xref{text/types}{text-valtype}{\T{valtype}}
668668
.. |Tfunctype| mathdef:: \xref{text/types}{text-functype}{\T{functype}}
669669

0 commit comments

Comments
 (0)