about summary refs log tree commit diff stats
path: root/miasm2/ir/ir.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--miasm2/ir/ir.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py
index 982399da..1c6895e0 100644
--- a/miasm2/ir/ir.py
+++ b/miasm2/ir/ir.py
@@ -177,6 +177,9 @@ class AssignBlock(object):
             return False
         return all(other[dst] == src for dst, src in self.iteritems())
 
+    def __ne__(self, other):
+        return not self.__eq__(other)
+
     def __len__(self):
         return len(self._assigns)