# HG changeset patch # User Doug Simon # Date 1374748938 -7200 # Node ID 191a9e4a2d2c9f7c624b67d551febd824a50f8f1 # Parent de55425d3cf53828da812fac7cb2ee13d27e061a# Parent 33a2ca7c3bc88550b15f438a96f7c086fbfcd8d0 Merge. diff -r de55425d3cf5 -r 191a9e4a2d2c graal/com.oracle.graal.lir/src/com/oracle/graal/lir/LIRIntrospection.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/LIRIntrospection.java Thu Jul 25 11:34:37 2013 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/LIRIntrospection.java Thu Jul 25 12:42:18 2013 +0200 @@ -202,6 +202,8 @@ return String.valueOf(unsafe.getFloat(obj, offset)); } else if (type == double.class) { return String.valueOf(unsafe.getDouble(obj, offset)); + } else if (type == byte.class) { + return String.valueOf(unsafe.getByte(obj, offset)); } else if (!type.isPrimitive()) { Object value = unsafe.getObject(obj, offset); if (!type.isArray()) { @@ -210,6 +212,8 @@ return Arrays.toString((int[]) value); } else if (type == double[].class) { return Arrays.toString((double[]) value); + } else if (type == byte[].class) { + return Arrays.toString((byte[]) value); } else if (!type.getComponentType().isPrimitive()) { return Arrays.toString((Object[]) value); }