added Byte case in getConstantValue of AbstractScope

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1142 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
mkogane 2007-05-17 02:41:25 +00:00
parent a946870b21
commit db4d2da065
1 changed files with 2 additions and 0 deletions

View File

@ -1065,6 +1065,8 @@ public abstract class AstTranslator extends CAstVisitor {
return getUnderlyingSymtab().getConstant((Boolean) o);
} else if (o instanceof Character) {
return getUnderlyingSymtab().getConstant(((Character) o).charValue());
} else if (o instanceof Byte) {
return getUnderlyingSymtab().getConstant(((Byte) o).byteValue());
} else if (o == null) {
return getUnderlyingSymtab().getNullConstant();
} else if (o == CAstControlFlowMap.SWITCH_DEFAULT) {