[Feature Request][Refactor][compiler-v2] Stackless bytecode annotations should be cleared on transforms #11690
Labels
compiler-v2
enhancement
New feature or request
stale-exempt
Prevents issues from being automatically marked and closed as stale
🚀 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.
The text was updated successfully, but these errors were encountered: