From 5f97079468a3465120436f651fb55b1269dc59c4 Mon Sep 17 00:00:00 2001 From: Andreas Rossberg Date: Thu, 11 Aug 2016 15:08:03 +0200 Subject: [PATCH] Describe operand order of call_indirect --- BinaryEncoding.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 37df54b6..8b06e67b 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -488,6 +488,8 @@ out of range, `br_table` branches to the default target. The counts following the different call opcodes specify the number of preceding operands taken as arguments. +The `call_indirect` operator takes a list of function arguments and as the last operand the index into the table. + ## Memory-related operators ([described here](AstSemantics.md#linear-memory-accesses)) | Name | Opcode | Immediate | Description |