(
self,
tkn: Token,
tkn_iter: TokenIterator,
uop: CodeSection,
storage: Storage,
inst: Instruction | None,
)
| 446 | return True |
| 447 | |
| 448 | def stack_pointer( |
| 449 | self, |
| 450 | tkn: Token, |
| 451 | tkn_iter: TokenIterator, |
| 452 | uop: CodeSection, |
| 453 | storage: Storage, |
| 454 | inst: Instruction | None, |
| 455 | ) -> bool: |
| 456 | if storage.spilled: |
| 457 | raise analysis_error("stack_pointer is invalid when stack is spilled to memory", tkn) |
| 458 | self.emit(tkn) |
| 459 | return True |
| 460 | |
| 461 | def goto_label(self, goto: Token, label: Token, storage: Storage) -> None: |
| 462 | if label.text not in self.labels: |
nothing calls this directly
no test coverage detected