Remove duplicated store status functions and helpers #66
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!66
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-66"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@romainhedouin on GitHub · 2026-11-25 13:16 UTC · original
romainhedouin:perf/hle-duplicates→a-publier· +18 −48 · 3 files · 1 commits · openRemoves three duplicated definitions:
xstore'ssize_status,string_status,count_statusandarray_statusall just returnedXAsyncGetStatus(block, false), likestatus, so their vtable slots now point atstatus(under the Win64 convention the extra output arguments the title passes are simply ignored);stacks.rs'sAlignedwascrash.rs'sAligned16again; andxma::Decoder::channels()had no callers.Tested: Windows clippy (workspace, all targets, with and without
--all-features) adds no warnings over a-publier andcargo test -p victory-formatspasses (41); the Windows-onlyvictory-hletests were type-checked, not run. No behaviour change.🤖 Generated with Claude Code
@ -391,3 +371,2 @@updates_async as *const (), // 0x1b8count_status as *const (), // 0x1c0array_status as *const (), // 0x1c8status as *const (), // 0x1c0@gut0to on GitHub · 2026-11-25 15:08 UTC · original
The simplification relies on Win64 ignoring the extra output arguments used by this slot's title-side signature. Could the Windows vtable test invoke slot 0x1c0 through the original Count-shaped function pointer with a non-null output pointer? The current shortened Status test does not exercise the call shape being relied on. AI-assisted review; I compared the old/new slot signatures and test invocation.
@gut0to on GitHub · 2026-11-25 15:08 UTC · original · reviewed
AI-assisted review: I checked the changed behavior and the associated test coverage.
Remove duplicated pad state, store status functions and helpersto Remove duplicated store status functions and helpers4354955908toa4a5393b25View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.