jameysharp opened PR #8479 from jameysharp:set-vreg-type-once
to bytecodealliance:main
:
We know the type of each VReg at the moment when we allocate it, so we never need to set the type again. That also means we don't need to deduplicate reftyped VRegs as we go, although it's still possible to have duplicates after aliases are resolved.
This PR and #8469 remove the only two uses of
FxHashSet
invcode.rs
, so whichever one lands second needs to also delete theuse
item for that type or it'll introduce a new unused-import warning.
jameysharp requested elliottt for a review on PR #8479.
jameysharp requested wasmtime-compiler-reviewers for a review on PR #8479.
jameysharp updated PR #8479.
jameysharp commented on PR #8479:
Since #8469 landed I've rebased this PR.
elliottt submitted PR review:
Awesome!
jameysharp merged PR #8479.
Last updated: Dec 23 2024 at 13:07 UTC