Stream: git-wasmtime

Topic: wasmtime / PR #5734 Refactor matches that used to consume...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:04):

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.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:08):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:08):

elliottt created PR review comment:

This change is where #5730 really shines, as we can avoid matching the InstructionData twice.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:09):

elliottt has marked PR #5734 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:09):

elliottt requested fitzgen for a review on PR #5734.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:14):

elliottt submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:14):

elliottt created PR review comment:

Not that we couldn't have done that before, but removing BranchInfo ended up forcing the refactoring.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 19:44):

jameysharp submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2023 at 21:29):

elliottt merged PR #5734.


Last updated: Nov 22 2024 at 17:03 UTC