Skip to content

Commit ba254fe

Browse files
author
titzer
authored
Use LEB for br_table (#738)
1 parent bcf150a commit ba254fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

BinaryEncoding.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ The `br_table` operator has an immediate operand which is encoded as follows:
461461
| Field | Type | Description |
462462
| ---- | ---- | ---- |
463463
| arity | `varuint1` | number of arguments |
464-
| target_count | `varuint32` | number of targets in the target_table |
465-
| target_table | `uint32*` | target entries that indicate an outer block or loop to which to break |
466-
| default_target | `uint32` | an outer block or loop to which to break in the default case |
464+
| target_count | `varuint32` | number of entries in the target_table |
465+
| target_table | `varuint32*` | target entries that indicate an outer block or loop to which to break |
466+
| default_target | `varuint32` | an outer block or loop to which to break in the default case |
467467

468468
The `br_table` operator implements an indirect branch. It accepts an optional value argument
469469
(like other branches) and an additional `i32` expression as input, and

0 commit comments

Comments
 (0)