Parks execution at the current EOF instruction so later appended code can resume.
(&mut self, image: &Image)
| 297 | |
| 298 | /// Parks execution at the current EOF instruction so later appended code can resume. |
| 299 | fn park_at_eof(&mut self, image: &Image) { |
| 300 | debug_assert!(!image.code.is_empty()); |
| 301 | self.context.set_pc(image.code.len() - 1); |
| 302 | } |
| 303 | |
| 304 | /// Constructs a `Scope` for an upcall with arguments starting at `reg`. |
| 305 | /// |