Add a user stack map for the associated instruction.
(
&mut self,
inst: BackwardsInsnIndex,
entries: &[ir::UserStackMapEntry],
)
| 592 | |
| 593 | /// Add a user stack map for the associated instruction. |
| 594 | pub fn add_user_stack_map( |
| 595 | &mut self, |
| 596 | inst: BackwardsInsnIndex, |
| 597 | entries: &[ir::UserStackMapEntry], |
| 598 | ) { |
| 599 | let stack_map = ir::UserStackMap::new(entries, self.vcode.abi.sized_stackslot_offsets()); |
| 600 | let old_entry = self.vcode.user_stack_maps.insert(inst, stack_map); |
| 601 | debug_assert!(old_entry.is_none()); |
| 602 | } |
| 603 | |
| 604 | /// Add debug tags for the associated instruction. |
| 605 | pub fn add_debug_tags(&mut self, inst: BackwardsInsnIndex, entries: &[ir::DebugTag]) { |
no test coverage detected