Skip to content

Commit

Permalink
[spec] Clarify binary element bitfield meaning (WebAssembly#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
zstewar1 committed Jun 26, 2024
1 parent 4c4ed15 commit 2e6b128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/core/binary/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ It decodes into a vector of :ref:`element segments <syntax-elem>` that represent
.. note::
The initial integer can be interpreted as a bitfield.
Bit 0 indicates a passive or declarative segment,
Bit 0 distinguishes a passive or declarative segment from an active segment,
bit 1 indicates the presence of an explicit table index for an active segment and otherwise distinguishes passive from declarative segments,
bit 2 indicates the use of element type and element :ref:`expressions <binary-expr>` instead of element kind and element indices.

Expand Down

0 comments on commit 2e6b128

Please sign in to comment.