Get the user stack map associated with the given forward instruction index.
(&self, inst: InsnIndex)
| 1513 | |
| 1514 | /// Get the user stack map associated with the given forward instruction index. |
| 1515 | pub fn get_user_stack_map(&self, inst: InsnIndex) -> Option<&ir::UserStackMap> { |
| 1516 | let index = inst.to_backwards_insn_index(self.num_insts()); |
| 1517 | self.user_stack_maps.get(&index) |
| 1518 | } |
| 1519 | } |
| 1520 | |
| 1521 | impl<I: VCodeInst> core::ops::Index<InsnIndex> for VCode<I> { |
no test coverage detected