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

refactor(ast)!: remove impl GetAddress for Function #7343

Merged

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Nov 18, 2024

impl GetAddress for Function was added as a hack, in the absence of another way to get the Address of a &Function (oxc-project/backlog#140).

Remove it, and use Address:from_ptr instead in JSX Refresh transform, which is only place using it.

Copy link

graphite-app bot commented Nov 18, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-ast Area - AST A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Nov 18, 2024
@overlookmotel overlookmotel marked this pull request as ready for review November 18, 2024 16:25
Copy link

codspeed-hq bot commented Nov 18, 2024

CodSpeed Performance Report

Merging #7343 will not alter performance

Comparing 11-18-refactor_ast_remove_impl_getaddress_for_function_ (41a0e60) with main (b5a2027)

Summary

✅ 30 untouched benchmarks

@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Nov 19, 2024
Copy link
Member

Boshen commented Nov 19, 2024

Merge activity

  • Nov 18, 8:03 PM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 18, 8:03 PM EST: A user added this pull request to the Graphite merge queue.
  • Nov 18, 8:11 PM EST: A user merged this pull request with the Graphite merge queue.

@Boshen Boshen force-pushed the 11-18-refactor_ast_remove_impl_getaddress_for_function_ branch from f4ec21f to a3b56cb Compare November 19, 2024 01:03
Boshen pushed a commit that referenced this pull request Nov 19, 2024
`impl GetAddress for Function` was added as a hack, in the absence of another way to get the `Address` of a `&Function` (oxc-project/backlog#140).

Remove it, and use `Address:from_ptr` instead in JSX Refresh transform, which is only place using it.
`impl GetAddress for Function` was added as a hack, in the absence of another way to get the `Address` of a `&Function` (oxc-project/backlog#140).

Remove it, and use `Address:from_ptr` instead in JSX Refresh transform, which is only place using it.
@Boshen Boshen force-pushed the 11-18-refactor_ast_remove_impl_getaddress_for_function_ branch from a3b56cb to 41a0e60 Compare November 19, 2024 01:05
@graphite-app graphite-app bot merged commit 41a0e60 into main Nov 19, 2024
26 checks passed
@graphite-app graphite-app bot deleted the 11-18-refactor_ast_remove_impl_getaddress_for_function_ branch November 19, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-merge Merge with Graphite Merge Queue A-ast Area - AST A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants