Skip to content

wasmparser OperatorsReader: remove unused data_index_occurred #2203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

keithw
Copy link
Contributor

@keithw keithw commented May 22, 2025

The OperatorsReader tracks whether a data index is used in the code section, but this is vestigial from an earlier version of #2134 that used this to enforce a well-formedness requirement. This eliminates the (basically unused) field.

Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find!

@alexcrichton alexcrichton added this pull request to the merge queue May 23, 2025
Merged via the queue into bytecodealliance:main with commit 741697d May 23, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants