summaryrefslogtreecommitdiff
path: root/python/mediumlevelil.py
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amat.us>2017-11-02 11:38:11 -0500
committerplafosse <peter@vector35.com>2017-11-02 12:38:11 -0400
commit704ceff1223485e9dc12947a36b0d56a3ff9d3ae (patch)
treeb2d619645ead957ac952c3545382a81566f595e6 /python/mediumlevelil.py
parent54a23d9e1ae34936427461b2807e3d5980e17486 (diff)
Move the function discrimination from SSAVariable to Variable (#856)
Diffstat (limited to 'python/mediumlevelil.py')
-rw-r--r--python/mediumlevelil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 333a6c4d..6f5515bb 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.var.function, self.version) ==
- (other.var.identifier, other.var.function, other.version)
+ (self.var, self.version) ==
+ (other.var, other.version)
)
def __hash__(self):
- return hash((self.var.identifier, self.var.function, self.version))
+ return hash((self.var, self.version))
class MediumLevelILLabel(object):