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:
sjfink 2007-05-03 17:26:35 +00:00
parent a03a4accd8
commit 25cfa83e11
1 changed files with 0 additions and 9 deletions

View File

@ -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));