pub struct AnalysisStateRemapping {
pub string_remap: HashMap<u32, u32>,
}Expand description
Remapping information for updating AIR after merging.
When function analysis states are merged, IDs may change due to deduplication. This struct provides the mapping from old to new IDs.
§Note
Array type remapping is no longer needed.
Array types use the shared TypeInternPool which handles deduplication.
Fields§
§string_remap: HashMap<u32, u32>Mapping from old string index to new string index. Only contains entries where the index changed.
Implementations§
Trait Implementations§
Source§impl Debug for AnalysisStateRemapping
impl Debug for AnalysisStateRemapping
Source§impl Default for AnalysisStateRemapping
impl Default for AnalysisStateRemapping
Source§fn default() -> AnalysisStateRemapping
fn default() -> AnalysisStateRemapping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AnalysisStateRemapping
impl RefUnwindSafe for AnalysisStateRemapping
impl Send for AnalysisStateRemapping
impl Sync for AnalysisStateRemapping
impl Unpin for AnalysisStateRemapping
impl UnwindSafe for AnalysisStateRemapping
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more