(
&self,
labels: &'b [Label],
)
| 58 | } |
| 59 | |
| 60 | fn labeled_code<'b: 'a>( |
| 61 | &self, |
| 62 | labels: &'b [Label], |
| 63 | ) -> impl Iterator<Item = (CodeOffset, &'a Bytecode, &'b Label)> { |
| 64 | self.code() |
| 65 | .zip(labels) |
| 66 | .map(|((i, instr), lbl)| (i, instr, lbl)) |
| 67 | } |
| 68 | |
| 69 | fn error(&self, status: StatusCode, offset: CodeOffset) -> PartialVMError { |
| 70 | PartialVMError::new(status).at_code_offset(self.current_function, offset) |
no test coverage detected