(&mut self, label: bytecode::Label)
| 6871 | |
| 6872 | #[inline] |
| 6873 | fn jump(&mut self, label: bytecode::Label) { |
| 6874 | let target_pc = label.as_u32(); |
| 6875 | vm_trace!("jump from {:?} to {:?}", self.lasti(), target_pc); |
| 6876 | self.update_lasti(|i| *i = target_pc); |
| 6877 | } |
| 6878 | |
| 6879 | /// Jump forward by `delta` code units from after instruction + caches. |
| 6880 | /// lasti is already at instruction_index + 1, so after = lasti + caches. |
no test coverage detected