jeffcharles edited PR #7993.
jeffcharles edited PR #7993:
<!--
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
-->
Returning anOption<u8>to track the register index allows us to support parameter lists that are longer than 255 since we can returnNoneinstead of overflowing when we hit the the maximum value foru8. It looks like v8 supports 1000 params.
jeffcharles requested saulecabrera for a review on PR #7993.
saulecabrera submitted PR review.
saulecabrera commented on PR #7993:
Thanks for the heads up @fitzgen; Winch is already compliant with those limits (via
wasmparser), the limits that we're discussing are for ISA register counts.
saulecabrera merged PR #7993.
Last updated: Jan 10 2026 at 02:36 UTC