power_insn: hide records repr from operands
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 6 Nov 2022 09:29:55 +0000 (12:29 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 15 Jan 2023 19:47:22 +0000 (22:47 +0300)
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