(self)
| 1638 | } |
| 1639 | |
| 1640 | fn patch_size(self) -> CodeOffset { |
| 1641 | match self { |
| 1642 | LabelUse::JmpRel32 | LabelUse::PCRel32 => 4, |
| 1643 | } |
| 1644 | } |
| 1645 | |
| 1646 | fn patch(self, buffer: &mut [u8], use_offset: CodeOffset, label_offset: CodeOffset) { |
| 1647 | let pc_rel = (label_offset as i64) - (use_offset as i64); |
no outgoing calls
no test coverage detected