Skip to content

Commit

Permalink
Update xdsl/dialects/arm/ops.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sasha Lopoukhine <[email protected]>
  • Loading branch information
emmau678 and superlopuh authored Jan 14, 2025
1 parent 3fd1b0b commit ff05f34
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions xdsl/dialects/arm/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,5 @@ def __init__(
},
)

def assembly_line_args(self):
return ()

def assembly_instruction_name(self) -> str:
return self.label.data
def assembly_line(self) -> str | None:
return append_comment(f"{self.label.data}:", self.comment)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

"append_comment" is not defined (reportUndefinedVariable)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Return type is unknown (reportUnknownVariableType)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Type of "label" is unknown (reportUnknownMemberType)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Type of "data" is unknown (reportUnknownMemberType)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Type of "comment" is unknown (reportUnknownMemberType)

Check failure on line 192 in xdsl/dialects/arm/ops.py

View workflow job for this annotation

GitHub Actions / build (3.12)

Cannot access attribute "comment" for class "LabelOp*"   Attribute "comment" is unknown (reportAttributeAccessIssue)

0 comments on commit ff05f34

Please sign in to comment.