Skip to content

Commit 88463e8

Browse files
committed
Fix direction of subtype check for call_indirect
1 parent 1f803e1 commit 88463e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/exec/instructions.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4368,7 +4368,7 @@ Control Instructions
43684368
\begin{array}[t]{@{}r@{~}l@{}}
43694369
(\iff & S.\STABLES[F.\AMODULE.\MITABLES[x]].\TIELEM[i] = \REFFUNCADDR~a \\
43704370
\wedge & S.\SFUNCS[a] = f \\
4371-
\wedge & S \vdashdeftypematch F.\AMODULE.\MITYPES[y] \matchesdeftype f.\FITYPE)
4371+
\wedge & S \vdashdeftypematch f.\FITYPE \matchesdeftype F.\AMODULE.\MITYPES[y])
43724372
\end{array}
43734373
\\[1ex]
43744374
\begin{array}{lcl@{\qquad}l}

0 commit comments

Comments
 (0)