Append a new stack map entry for the given call instruction. # Panics Panics if the given instruction is not a (non-tail) call instruction.
(&mut self, inst: Inst, entry: UserStackMapEntry)
| 613 | /// |
| 614 | /// Panics if the given instruction is not a (non-tail) call instruction. |
| 615 | pub fn append_user_stack_map_entry(&mut self, inst: Inst, entry: UserStackMapEntry) { |
| 616 | let opcode = self.insts[inst].opcode(); |
| 617 | assert!(opcode.is_safepoint()); |
| 618 | self.user_stack_maps.entry(inst).or_default().push(entry); |
| 619 | } |
| 620 | |
| 621 | /// Append multiple stack map entries for the given call instruction. |
| 622 | /// |
no test coverage detected