Added the getter for the TypeReference member (type).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1613 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
loginov 2007-08-13 17:07:38 +00:00
parent c7f6e3adee
commit b8ad396610
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ public class SSAConditionalBranchInstruction extends SSAInstruction {
return (j == 0) ? val1 : val2;
}
public TypeReference getType() {
return type;
}
public boolean isObjectComparison() {
return type == TypeReference.JavaLangObject;
}