Skip to content
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

Updated validation rules for struct.new #17

Merged
merged 1 commit into from
Mar 18, 2025
Merged

Conversation

tlively
Copy link
Member

@tlively tlively commented Mar 18, 2025

Explicitly spell out the types of struct.new and struct.new_default
when there is a custom descriptor involved. Make the custom descriptor
the last operand for consistency with all GC accessor instructions (and
e.g. call_indirect), where the operand determined by (or determining)
the type immediate always comes last.

Explicitly spell out the types of `struct.new` and `struct.new_default`
when there is a custom descriptor involved. Make the custom descriptor
the last operand for consistency with all GC accessor instructions (and
e.g. `call_indirect`), where the operand determined by (or determining)
the type immediate always comes last.
@tlively
Copy link
Member Author

tlively commented Mar 18, 2025

cc @jakobkummerow

@tlively tlively merged commit 38cad33 into main Mar 18, 2025
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.

1 participant