From 88463e822fafdf80f33b9eb84f0c489bd5940cf5 Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Thu, 31 Oct 2024 09:06:04 +0100 Subject: [PATCH] Fix direction of subtype check for call_indirect --- document/core/exec/instructions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/exec/instructions.rst b/document/core/exec/instructions.rst index 941299770..894785ca3 100644 --- a/document/core/exec/instructions.rst +++ b/document/core/exec/instructions.rst @@ -4368,7 +4368,7 @@ Control Instructions \begin{array}[t]{@{}r@{~}l@{}} (\iff & S.\STABLES[F.\AMODULE.\MITABLES[x]].\TIELEM[i] = \REFFUNCADDR~a \\ \wedge & S.\SFUNCS[a] = f \\ - \wedge & S \vdashdeftypematch F.\AMODULE.\MITYPES[y] \matchesdeftype f.\FITYPE) + \wedge & S \vdashdeftypematch f.\FITYPE \matchesdeftype F.\AMODULE.\MITYPES[y]) \end{array} \\[1ex] \begin{array}{lcl@{\qquad}l}