aboutsummaryrefslogtreecommitdiff
path: root/BinaryEncoding.md
diff options
context:
space:
mode:
authorLuke Wagner <luke@mozilla.com>2016-03-08 13:05:13 -0600
committerLuke Wagner <luke@mozilla.com>2016-03-09 10:52:29 -0600
commitc6e52a487a81edd9ccdd7544bd96c367aff991ba (patch)
tree81e4b574d4a4b80d2bc340c167725cbde6370ad6 /BinaryEncoding.md
parent3d1fc545dc6b61150021b93fff91895cb4679e94 (diff)
downloadnanowasm-design-c6e52a487a81edd9ccdd7544bd96c367aff991ba.tar.gz
Change br_table branch offsets to uint32
Diffstat (limited to 'BinaryEncoding.md')
-rw-r--r--BinaryEncoding.md4
1 files changed, 2 insertions, 2 deletions
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