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:
parent
a946870b21
commit
db4d2da065
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue