diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-13 14:15:35 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-01-15 15:40:30 +0100 |
| commit | 6b87a3f5056fc971fb7ede2af69e70a96f869a59 (patch) | |
| tree | ead33a7804c25f29567ab3f846322a1cf045d581 /miasm2/core/cpu.py | |
| parent | 4c9094900f28a569bab5b0d6fc3343e418eb8569 (diff) | |
| download | miasm-6b87a3f5056fc971fb7ede2af69e70a96f869a59.tar.gz miasm-6b87a3f5056fc971fb7ede2af69e70a96f869a59.zip | |
Instructions: slots class
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index 48f7e26e..d304108d 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -910,6 +910,9 @@ class metamn(type): class instruction(object): + __slots__ = ["name", "mode", "args", + "l", "b", "offset", "data", + "additional_info", "delayslot"] def __init__(self, name, mode, args, additional_info=None): self.name = name |