Skip to content

Conversation

@vaivaswatha
Copy link
Contributor

No description provided.

@vaivaswatha vaivaswatha self-assigned this Jun 25, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 25, 2025

CodSpeed Performance Report

Merging #7255 will not alter performance

Comparing vaivaswatha/addr_of_copy_types (ad3e083) with master (5c22e33)

Summary

✅ 24 untouched benchmarks

@vaivaswatha vaivaswatha marked this pull request as ready for review June 25, 2025 05:55
@vaivaswatha vaivaswatha requested a review from a team as a code owner June 25, 2025 05:55
Copy link
Member

@ironcev ironcev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was much simpler then I thought 😄

@ironcev ironcev added compiler General compiler. Should eventually become more specific as the issue is triaged compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen labels Jun 25, 2025
@vaivaswatha
Copy link
Contributor Author

@ironcev . I've done all the changes, except for one which I'm not sure we should do. Once you respond to it, I'll add that (or not).

@vaivaswatha vaivaswatha requested review from a team as code owners June 26, 2025 04:30
@vaivaswatha vaivaswatha enabled auto-merge (squash) June 26, 2025 11:47
@vaivaswatha vaivaswatha merged commit 586a968 into master Jun 27, 2025
45 checks passed
@vaivaswatha vaivaswatha deleted the vaivaswatha/addr_of_copy_types branch June 27, 2025 03:33
ironcev added a commit that referenced this pull request Oct 7, 2025
## Description

This PR removes workarounds based on `asm` blocks used in the
`std::hash` module to obtain an address of a copy-type. Those
workarounds are replaced with `__addr_of` which since #7255 supports
taking addresses of copy-types.

## Checklist

- [x] I have linked to any relevant issues.
- [ ] I have commented my code, particularly in hard-to-understand
areas.
- [ ] I have updated the documentation where relevant (API docs, the
reference, and the Sway book).
- [ ] If my change requires substantial documentation changes, I have
[requested support from the DevRel
team](https://github.com/FuelLabs/devrel-requests/issues/new/choose)
- [ ] I have added tests that prove my fix is effective or that my
feature works.
- [ ] I have added (or requested a maintainer to add) the necessary
`Breaking*` or `New Feature` labels where relevant.
- [x] I have done my best to ensure that my PR adheres to [the Fuel Labs
Code Review
Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md).
- [x] I have requested a review from the relevant team or maintainers.
ironcev pushed a commit that referenced this pull request Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compiler: frontend Everything to do with type checking, control flow analysis, and everything between parsing and IRgen compiler General compiler. Should eventually become more specific as the issue is triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants