Skip to content

Commit

Permalink
Rename "refedtype" to "heaptype" (WebAssembly#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
wingo committed Nov 3, 2020
1 parent ad009e0 commit 173ea33
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion document/core/text/instructions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Reference Instructions
.. math::
\begin{array}{llclll}
\production{instruction} & \Tplaininstr_I &::=& \dots \\ &&|&
\text{ref.null}~~t{:}\Trefedtype &\Rightarrow& \REFNULL~t \\ &&|&
\text{ref.null}~~t{:}\Theaptype &\Rightarrow& \REFNULL~t \\ &&|&
\text{ref.is\_null} &\Rightarrow& \REFISNULL \\ &&|&
\text{ref.func}~~x{:}\Tfuncidx &\Rightarrow& \REFFUNC~x \\ &&|&
\end{array}
Expand Down
4 changes: 2 additions & 2 deletions document/core/text/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Number Types
.. index:: reference type
pair: text format; reference type
.. _text-reftype:
.. _text-refedtype:
.. _text-heaptype:

Reference Types
~~~~~~~~~~~~~~~
Expand All @@ -35,7 +35,7 @@ Reference Types
\production{reference type} & \Treftype &::=&
\text{funcref} &\Rightarrow& \FUNCREF \\ &&|&
\text{externref} &\Rightarrow& \EXTERNREF \\
\production{referenced type} & \Trefedtype &::=&
\production{heap type} & \Theaptype &::=&
\text{func} &\Rightarrow& \FUNCREF \\ &&|&
\text{extern} &\Rightarrow& \EXTERNREF \\
\end{array}
Expand Down
2 changes: 1 addition & 1 deletion document/core/util/macros.def
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@

.. |Tnumtype| mathdef:: \xref{text/types}{text-numtype}{\T{numtype}}
.. |Treftype| mathdef:: \xref{text/types}{text-reftype}{\T{reftype}}
.. |Trefedtype| mathdef:: \xref{text/types}{text-refedtype}{\T{refedtype}}
.. |Theaptype| mathdef:: \xref{text/types}{text-heaptype}{\T{heaptype}}
.. |Tvaltype| mathdef:: \xref{text/types}{text-valtype}{\T{valtype}}
.. |Tfunctype| mathdef:: \xref{text/types}{text-functype}{\T{functype}}

Expand Down

0 comments on commit 173ea33

Please sign in to comment.