Map a specialized or instrumented opcode back to its adaptive (base) variant.
(self)
| 684 | |
| 685 | /// Map a specialized or instrumented opcode back to its adaptive (base) variant. |
| 686 | pub const fn deoptimize(self) -> Self { |
| 687 | match self.deopt() { |
| 688 | Some(v) => v, |
| 689 | None => { |
| 690 | // Instrumented opcodes map back to their base |
| 691 | match self.to_base() { |
| 692 | Some(v) => v, |
| 693 | None => self, |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | } |
| 698 | |
| 699 | /// Number of CACHE code units that follow this instruction. |
| 700 | /// _PyOpcode_Caches |
no test coverage detected