about summary refs log tree commit diff stats
path: root/arch/arch.py
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arch.py')
-rw-r--r--arch/arch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arch.py b/arch/arch.py
index 36a4e3f..a46439e 100644
--- a/arch/arch.py
+++ b/arch/arch.py
@@ -1,6 +1,7 @@
 class Arch():
-    def __init__(self, regnames: list[str]):
-        self.regnames = regnames
+    def __init__(self, archname: str, regnames: list[str]):
+        self.archname = archname
+        self.regnames = set(regnames)
 
     def __eq__(self, other):
         return self.regnames == other.regnames