We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c9193c commit 2aef7fcCopy full SHA for 2aef7fc
crates/compiler-core/src/bytecode/instruction.rs
@@ -555,7 +555,8 @@ impl Instruction {
555
_ => return None,
556
})
557
}
558
- /// Map a specialized or instrumented opcode back to its adaptive (base) variant.
+
559
+ /// Map a specialized opcode back to its adaptive (base) variant.
560
/// `_PyOpcode_Deopt`
561
pub const fn deopt(self) -> Option<Self> {
562
Some(match self {
@@ -681,7 +682,7 @@ impl Instruction {
681
682
683
684
- /// Map a specialized opcode back to its adaptive (base) variant.
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,
0 commit comments