Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArenaVector::swap #7115

Merged
merged 3 commits into from
Nov 26, 2024
Merged

Fix ArenaVector::swap #7115

merged 3 commits into from
Nov 26, 2024

Conversation

kripken
Copy link
Member

@kripken kripken commented Nov 26, 2024

This was never right for over a decade, and just never used I suppose... it should
have been called "take" since it grabbed data from the other item and then set
that other item to empty. Fix it so it swaps properly.

@kripken kripken requested a review from tlively November 26, 2024 00:35
@kripken kripken merged commit cc97853 into WebAssembly:main Nov 26, 2024
13 checks passed
@kripken kripken deleted the arena branch November 26, 2024 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants