(self)
| 556 | raise NotImplementedError() |
| 557 | |
| 558 | def _validate(self) -> None: |
| 559 | for block in self._blocks(): |
| 560 | if not block.instructions: |
| 561 | continue |
| 562 | for inst in block.instructions: |
| 563 | if self.frame_pointers: |
| 564 | assert ( |
| 565 | self._frame_pointer_modify.match(inst.text) is None |
| 566 | ), "Frame pointer should not be modified" |
| 567 | |
| 568 | def run(self) -> None: |
| 569 | """Run this optimizer.""" |