fitzgen opened PR #8937 from fitzgen:variables-need-stack-maps-too
to bytecodealliance:main
:
This makes it so that all uses of the variable are automatically marked as needing stack maps, which is a big simplification and removal of potential footguns for users.
fitzgen requested cfallin for a review on PR #8937.
fitzgen requested wasmtime-compiler-reviewers for a review on PR #8937.
fitzgen requested alexcrichton for a review on PR #8937.
fitzgen requested wasmtime-core-reviewers for a review on PR #8937.
fitzgen updated PR #8937.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
Would it be possible to introduce a new method instead. Most users of cranelift-frontend will not use stackmaps and may not even know what they are and thus not know what they should pass.
bjorn3 edited PR review comment.
fitzgen updated PR #8937.
fitzgen submitted PR review.
fitzgen created PR review comment:
I actually went back and forth on this, but after switching to a different method to declare that a variable needs inclusion in stack maps, rather than a parameter to
declare_var
(see most recent commit) I actually like the different method better. Thanks for the nudge!
alexcrichton submitted PR review.
alexcrichton merged PR #8937.
Last updated: Dec 23 2024 at 12:05 UTC