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

Make blockifyWithName correctly use name and type #6223

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Jan 12, 2024

  • This passes name to makeBlock call, because makeBlock uses BranchSeeker when finalizing only when the block has a name.
  • This also refinalizes the block when an optional type is given.

This was spun off from #6210, but I'm not sure how to add a standalone test for this.

- This passes `name` to `makeBlock` call, because `makeBlock` uses
  `BranchSeeker` when finalizing only when the block has a `name`.
- This also refinalizes the block when an optional `type` is given.

This was spun off from WebAssembly#6210, but I'm not sure how to add a standalone
test for this.
@aheejin aheejin merged commit 2dfa01f into WebAssembly:main Jan 16, 2024
14 checks passed
@aheejin aheejin deleted the blockify_with_name branch January 16, 2024 23:19
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
- This passes `name` to `makeBlock` call, because `makeBlock` uses
  `BranchSeeker` when finalizing only when the block has a `name`.
- This also refinalizes the block when an optional `type` is given.

This was spun off from WebAssembly#6210, but I'm not sure how to add a standalone
test for this.
@gkdn gkdn mentioned this pull request Aug 31, 2024
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