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 entry alignment issue with AssemblyScript maps #461

Merged

Conversation

mattjohnsonpint
Copy link
Member

Description

Fixes alignment issues with AssemblyScript map types that had values with memory size other than 4 bytes. Specifically, this bug was found with Map<string, f64>. (Strings are 4 byte pointers, but f64 is an 8 byte primitive value.)

Checklist

  • Code compiles correctly and linting passes locally
  • Tests for new functionality and regression tests for bug fixes added
  • Documentation added or updated
  • Entry added to the CHANGELOG.md file describing and linking to this PR

@mattjohnsonpint mattjohnsonpint requested a review from a team as a code owner October 13, 2024 21:28
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) October 13, 2024 21:30
@mattjohnsonpint mattjohnsonpint force-pushed the mjp/hyp-2388-f64-not-returned-correctly-in-simple-map branch from 3ffb71c to 496cfc7 Compare October 13, 2024 21:32
@mattjohnsonpint mattjohnsonpint enabled auto-merge (squash) October 13, 2024 21:32
@mattjohnsonpint mattjohnsonpint merged commit ff178a9 into main Oct 13, 2024
80 checks passed
@mattjohnsonpint mattjohnsonpint deleted the mjp/hyp-2388-f64-not-returned-correctly-in-simple-map branch October 13, 2024 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants