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
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -265,6 +265,10 @@ Reference Instructions
265
265
C \vdashinstr\REFTEST~\X{rt} : [\X{rt}'] \to [\I32]
266
266
}
267
267
268
+
.. note::
269
+
The liberty to pick a supertype :math:`\X{rt}'` allows typing the instruction with the least precise super type of :math:`\X{rt}` as input, that is, the top type in the corresponding heap subtyping hierarchy.
270
+
271
+
268
272
.. _valid-ref.cast:
269
273
270
274
:math:`\REFCAST~\X{rt}`
@@ -285,6 +289,9 @@ Reference Instructions
285
289
C \vdashinstr\REFCAST~\X{rt} : [\X{rt}'] \to [\X{rt}]
286
290
}
287
291
292
+
.. note::
293
+
The liberty to pick a supertype :math:`\X{rt}'` allows typing the instruction with the least precise super type of :math:`\X{rt}` as input, that is, the top type in the corresponding heap subtyping hierarchy.
0 commit comments