(&self, fixup: &MachLabelFixup<I>, forced_threshold: CodeOffset)
| 1476 | } |
| 1477 | |
| 1478 | fn should_apply_fixup(&self, fixup: &MachLabelFixup<I>, forced_threshold: CodeOffset) -> bool { |
| 1479 | let label_offset = self.resolve_label_offset(fixup.label); |
| 1480 | trace!( |
| 1481 | "should_apply_fixup: fixup {fixup:?} label_offset {label_offset} deadline {} forced_threshold {forced_threshold} supports_veneer {}", |
| 1482 | fixup.deadline(), |
| 1483 | fixup.kind.supports_veneer() |
| 1484 | ); |
| 1485 | let result = (label_offset != UNKNOWN_LABEL_OFFSET) |
| 1486 | || ((fixup.deadline() < forced_threshold) && fixup.kind.supports_veneer()); |
| 1487 | trace!( |
| 1488 | " -> {}, {}, {} -> {result}", |
| 1489 | label_offset != UNKNOWN_LABEL_OFFSET, |
| 1490 | fixup.deadline() < forced_threshold, |
| 1491 | fixup.kind.supports_veneer() |
| 1492 | ); |
| 1493 | result |
| 1494 | } |
| 1495 | |
| 1496 | fn handle_fixup( |
| 1497 | &mut self, |
no test coverage detected