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

Update Binaryen #2612

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Update Binaryen #2612

merged 1 commit into from
Jan 12, 2023

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Jan 11, 2023

Update Binaryen to latest, including:

  • Rename dataref to structref and update subtyping accordingly (fixes BREAKING CHANGE: Prepare for dataref becoming structref #2551)
  • Consolidate ref.is_* to ref.is_null. ref.is_func, .is_data and .is_i31 are now expressible with ref.test.
  • ref.as_func, .as_data and .as_i31 are now expressible with ref.cast.
  • br_on_func, _on_non_func, _on_data, _on_non_data, _on_i31 and _on_non_i31 are now expressible with br_on_cast.
  • Remove explicit type on ref.cast.
  • Apply related renamings, i.e. intendedType to castType.

Has some overlap with #2547 but does not update the pass pipeline.

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

@dcodeIO dcodeIO merged commit 9971708 into main Jan 12, 2023
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.

None yet

1 participant