(
&self,
index: HighLevelInstructionIndex,
)
| 24 | } |
| 25 | |
| 26 | pub fn instruction_from_index( |
| 27 | &self, |
| 28 | index: HighLevelInstructionIndex, |
| 29 | ) -> Option<HighLevelILInstruction> { |
| 30 | if index.0 >= self.instruction_count() { |
| 31 | None |
| 32 | } else { |
| 33 | Some(HighLevelILInstruction::new(self.to_owned(), index)) |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | pub fn instruction_from_expr_index( |
| 38 | &self, |
no test coverage detected