| 301 | |
| 302 | @dataclass |
| 303 | class PseudoInstruction: |
| 304 | name: str |
| 305 | stack: StackEffect |
| 306 | targets: list[Instruction] |
| 307 | as_sequence: bool |
| 308 | flags: list[str] |
| 309 | opcode: int = -1 |
| 310 | |
| 311 | def dump(self, indent: str) -> None: |
| 312 | print(indent, self.name, "->", " or ".join([t.name for t in self.targets])) |
| 313 | |
| 314 | @property |
| 315 | def properties(self) -> Properties: |
| 316 | return Properties.from_list([i.properties for i in self.targets]) |
| 317 | |
| 318 | |
| 319 | @dataclass |
no outgoing calls
no test coverage detected
searching dependent graphs…