(self, text: str)
| 246 | block.fallthrough = False |
| 247 | |
| 248 | def _preprocess(self, text: str) -> str: |
| 249 | # Override this method to do preprocessing of the textual assembly. |
| 250 | # In all cases, replace references to the _JIT_CONTINUE symbol with |
| 251 | # references to a local _JIT_CONTINUE label (which we will add later): |
| 252 | continue_symbol = rf"\b{re.escape(self.symbol_prefix)}_JIT_CONTINUE\b" |
| 253 | continue_label = f"{self.label_prefix}_JIT_CONTINUE" |
| 254 | return re.sub(continue_symbol, continue_label, text) |
| 255 | |
| 256 | def _parse_instruction(self, line: str) -> Instruction: |
| 257 | target = None |
no test coverage detected