elliottt opened PR #5734 from trevor/refactor-branch-matching
to main
:
Explicitly borrow the instruction data, and use a mutable borrow to avoid rematch
<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
elliottt submitted PR review.
elliottt created PR review comment:
This change is where #5730 really shines, as we can avoid matching the
InstructionData
twice.
elliottt has marked PR #5734 as ready for review.
elliottt requested fitzgen for a review on PR #5734.
elliottt submitted PR review.
elliottt created PR review comment:
Not that we couldn't have done that before, but removing
BranchInfo
ended up forcing the refactoring.
jameysharp submitted PR review.
elliottt merged PR #5734.
Last updated: Nov 22 2024 at 17:03 UTC