summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mediumlevelil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 9167212a..333a6c4d 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -39,12 +39,12 @@ class SSAVariable(object):
def __eq__(self, other):
return (
- (self.var.identifier, self.version) ==
- (other.var.identifier, other.version)
+ (self.var.identifier, self.var.function, self.version) ==
+ (other.var.identifier, other.var.function, other.version)
)
def __hash__(self):
- return hash((self.var.identifier, self.version))
+ return hash((self.var.identifier, self.var.function, self.version))
class MediumLevelILLabel(object):