jeffcharles requested wasmtime-compiler-reviewers for a review on PR #10032.
jeffcharles opened PR #10032 from jeffcharles:winch-refactor-unop to bytecodealliance:main:
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
The only use of thesizeparameter inunopis to pass it through to the closure argument. However, in many cases the closure doesn't use or can't use thesizeparameter so it's superfluous in those cases. In the cases where thesizeparameter is used in the closure, theOperandSizecan be trivially inlined. This refactoring simplifies uses ofunopin cases where thesizeparameter is not used.
jeffcharles requested fitzgen for a review on PR #10032.
saulecabrera submitted PR review.
saulecabrera has enabled auto merge for PR #10032.
saulecabrera merged PR #10032.
Last updated: Dec 06 2025 at 06:05 UTC