power_insn: hide records repr from operands
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 6 Nov 2022 09:29:55 +0000 (12:29 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:16 +0000 (19:51 +0100)
src/openpower/decoder/power_insn.py

index 3a756d26e24865ed2b91e72c9dbffadb9c2a36c6..b632051a1ecfe6bf774e501a00124331552e34c5 100644 (file)
@@ -838,8 +838,8 @@ class Record:
 
 @_dataclasses.dataclass(eq=True, frozen=True)
 class Operand:
-    record: Record
     name: str
+    record: Record = _dataclasses.field(repr=False)
 
     def __post_init__(self):
         pass