elliottt opened PR #7903 from elliottt:trevor/const-memflags
to bytecodealliance:main
:
Switch the setter operations on
MemFlags
to use const functions internally,
allowing thewith
interface to becomeconst
. This allows forMemFlags
values to be defined as constant, and removes the need to cache trusted and
untrusted values in the winch x64 macro assembler.<!--
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
-->
elliottt requested wasmtime-compiler-reviewers for a review on PR #7903.
elliottt requested abrown for a review on PR #7903.
elliottt edited PR #7903:
Switch the setter operations on
MemFlags
to use const functions internally, allowing thewith
interface to becomeconst
. This allows forMemFlags
values to be defined as constant, and removes the need to cache trusted and untrusted values in the winch x64 macro assembler.<!--
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
-->
elliottt requested saulecabrera for a review on PR #7903.
elliottt updated PR #7903.
elliottt updated PR #7903.
fitzgen submitted PR review.
fitzgen has enabled auto merge for PR #7903.
saulecabrera created PR review comment:
When I was looking at this, I had thought of defining them where the
MacroAssesmbler
trait is defined, because they'll probably be consumed by all the other ISAs. Do you think it makes sense to move them over?
saulecabrera submitted PR review:
Left one minor suggestion. Thanks for adding this!
saulecabrera submitted PR review:
Left one minor suggestion. Thanks for adding this!
elliottt submitted PR review.
elliottt created PR review comment:
That's a great idea! I'll move them over :+1:
saulecabrera edited PR review comment.
elliottt updated PR #7903.
elliottt merged PR #7903.
Last updated: Nov 22 2024 at 17:03 UTC