summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index e255b431..87eb5a34 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -1051,6 +1051,9 @@ class LowLevelILConstantBase(LowLevelILInstruction, Constant):
def __ge__(self, other:'LowLevelILConstantBase'):
return self.constant >= other.constant
+ def __hash__(self):
+ return LowLevelILInstruction.__hash__(self)
+
@property
def constant(self) -> int:
return self._get_int(0)