From c6e52a487a81edd9ccdd7544bd96c367aff991ba Mon Sep 17 00:00:00 2001 From: Luke Wagner Date: Tue, 8 Mar 2016 13:05:13 -0600 Subject: Change br_table branch offsets to uint32 --- BinaryEncoding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'BinaryEncoding.md') diff --git a/BinaryEncoding.md b/BinaryEncoding.md index 6ee15d9..03acda4 100644 --- a/BinaryEncoding.md +++ b/BinaryEncoding.md @@ -333,8 +333,8 @@ The `br_table` operator has an immediate operand which is encoded as follows: | Field | Type | Description | | ---- | ---- | ---- | | target_count | `varuint32` | number of targets in the target_table | -| target_table | `varuint32*` | target entries that indicate an outer block or loop to which to break | -| default_target | `varuint32` | an outer block or loop to which to break in the default case | +| target_table | `uint32*` | target entries that indicate an outer block or loop to which to break | +| default_target | `uint32` | an outer block or loop to which to break in the default case | The `br_table` operator implements an indirect branch. It accepts one `i32` expression as input and branches to the block or loop at the given offset within the `target_table`. If the input value is -- cgit v1.2.3