power_insn: inherit PPCMultiRecord from frozenset
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 4 Sep 2022 12:12:01 +0000 (15:12 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 4 Sep 2022 12:12:12 +0000 (15:12 +0300)
src/openpower/decoder/power_insn.py

index 3a3a662565a157cfb6a03b0ee5bda878e9f145ed..d65c85680a3728cc29b956d7dc245a8510d21f0f 100644 (file)
@@ -236,7 +236,7 @@ class PPCRecord:
         return frozenset(self.comment.split("=")[-1].split("/"))
 
 
-class PPCMultiRecord(tuple):
+class PPCMultiRecord(frozenset):
     @cached_property
     def unified(self):
         def merge(lhs, rhs):