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

[Feature Request][Refactor][compiler-v2] Stackless bytecode annotations should be cleared on transforms #11690

Open
vineethk opened this issue Jan 18, 2024 · 0 comments
Labels
compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@vineethk
Copy link
Contributor

🚀 Feature Request

In the stackless bytecode pipeline, we now have various stages that could transform the code. When code is potentially modified, all associated annotations could be invalidated (because annotations map code offsets to some computed info, but code offsets could have changed), and so, conservatively, we should clear all the associated annotations.

We should do this consistently for all the transforms.

@vineethk vineethk added enhancement New feature or request compiler-v2 labels Jan 18, 2024
@vineethk vineethk changed the title [Feature Request][Refactor] Annotations should be cleared on transforms [Feature Request][Refactor][compiler-v2] Annotations should be cleared on transforms Jan 18, 2024
@brmataptos brmataptos changed the title [Feature Request][Refactor][compiler-v2] Annotations should be cleared on transforms [Feature Request][Refactor][compiler-v2] Stackless bytecode annotations should be cleared on transforms Jan 18, 2024
@brmataptos brmataptos added the stale-exempt Prevents issues from being automatically marked and closed as stale label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: For Grabs
Development

No branches or pull requests

2 participants