(&mut self, hole: Hole, goto: InstPtr)
| 636 | } |
| 637 | |
| 638 | fn fill(&mut self, hole: Hole, goto: InstPtr) { |
| 639 | match hole { |
| 640 | Hole::None => {} |
| 641 | Hole::One(pc) => { |
| 642 | self.insts[pc].fill(goto); |
| 643 | } |
| 644 | Hole::Many(holes) => { |
| 645 | for hole in holes { |
| 646 | self.fill(hole, goto); |
| 647 | } |
| 648 | } |
| 649 | } |
| 650 | } |
| 651 | |
| 652 | fn fill_to_next(&mut self, hole: Hole) { |
| 653 | let next = self.insts.len(); |
no test coverage detected