From: Dmitry Selyutin Date: Sat, 17 Sep 2022 19:31:42 +0000 (+0300) Subject: power_insn: drop field length method again X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a1896dda4d73b04da3bb6a7d3275f4ab3f210f2;p=openpower-isa.git power_insn: drop field length method again --- diff --git a/src/openpower/decoder/power_fields.py b/src/openpower/decoder/power_fields.py index e7d353b5..7530e456 100644 --- a/src/openpower/decoder/power_fields.py +++ b/src/openpower/decoder/power_fields.py @@ -165,9 +165,6 @@ class FieldMeta(type): class Field(Reference, metaclass=FieldMeta): - def __len__(self): - return self.__class__.__len__() - def __repr__(self): return f"[{len(self.__class__)}]0x{int(self):x}"