Add (dynamic) constants and types to editor
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