make SSAInstruction.equals() consistently use ==
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1048 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
a03a4accd8
commit
25cfa83e11
|
@ -122,15 +122,6 @@ public abstract class AbstractLexicalInvoke
|
|||
return site.hashCode() * 7529;
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
if (obj != null && getClass().equals(obj.getClass())) {
|
||||
SSAAbstractInvokeInstruction other = (SSAAbstractInvokeInstruction)obj;
|
||||
return site.equals(other.getCallSite());
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public String toString(SymbolTable symbolTable, ValueDecorator d) {
|
||||
StringBuffer s = new StringBuffer(super.toString(symbolTable, d));
|
||||
|
||||
|
|
Loading…
Reference in New Issue