Add (dynamic) constants and types to editor
All threads resolved!
All threads resolved!
Adds support for editor to mutate global constants and types in a safe manner. This assumes no simultaneous calls to .edit
will occur across any editors. Type ID deduplication is done by a linear scan for now, although we could of course switch this in the future. I've tested this and confirmed it does work properly for return modification in interprocedural SROA.
Edited by Ryan Ziegler
Merge request reports
Activity
- Resolved by Ryan Ziegler
- Resolved by Ryan Ziegler
- Resolved by Ryan Ziegler
- Resolved by Ryan Ziegler
- Resolved by rarbore2
Overall LGTM. Good code quality, and the actual editor impl itself is pretty clean.
Edited by rarbore2assigned to @rarbore2
requested review from @rarbore2
mentioned in commit d5d8601e
Please register or sign in to reply