From ccdbf4f5b86ba9eef58022b27006236082d72d4c Mon Sep 17 00:00:00 2001 From: Dmitry Polyakov <91780534+eduVcJy0UE0cy0zo3BS7XYO3b@users.noreply.github.com> Date: Fri, 5 Jul 2024 04:18:23 +0000 Subject: [PATCH] Update instructions.rst According to other places in docs and my research on dumped wat files, I consider that funcidx for this call places on stack, not as parameter. --- document/core/syntax/instructions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/document/core/syntax/instructions.rst b/document/core/syntax/instructions.rst index 93cdbc905..07a7c8bdc 100644 --- a/document/core/syntax/instructions.rst +++ b/document/core/syntax/instructions.rst @@ -764,7 +764,7 @@ Instructions in this group affect the flow of control. \CALLREF~\typeidx \\&&|& \CALLINDIRECT~\tableidx~\typeidx \\&&|& \RETURNCALL~\funcidx \\&&|& - \RETURNCALLREF~\funcidx \\&&|& + \RETURNCALLREF~\typeidx \\&&|& \RETURNCALLINDIRECT~\tableidx~\typeidx \\ \end{array}